Step 4. Plugin Development Basic #139
choonho
started this conversation in
Mentorship
Replies: 3 comments 4 replies
-
Hello @choonho i have completed the step 4 but i am not able to upload the image on LFX. Is that we should have to upload the pdf file |
Beta Was this translation helpful? Give feedback.
4 replies
-
Hi @choonho , |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @choonho |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Plugin Development Basic
Discord channel for Mentorship
Permanent invite link. https://discord.gg/csp3yt6SWw
Agenda
You can install the Cloudforet, then create a user for service. You can create API user then create API Key for CLI.
You can register the local plugin marketplace for yourself. Then you can enable your custom plugin.
1. Installation of Cloudforet
Install Cloudforet following https://cloudforet.io/docs/setup_operation/quick_install/
In the Step 6. Set the Helm Values and Upgrade the Chart, use following values.yaml
upgrade the Cloudforet with below helm values.yaml file.
2. Create User
Click Sign in for Root Account
Login as admin / Admin123!@#
Menu: Administration > IAM
Click + Add, then create User as Domain Admin
Click profile in upper right. Sign Out Root Account
Login as general User
3. Create API Token
Menu: Administration > IAM > User
Check User ID, then select API Key in the tap menu.
+ Create API Key
Download YAML file
In the Download directory, there will be spacectl_config.yml file
4. Access to CLI POD
Cloudforet provides CLI tool, spacectl as K8S POD
Access to CLI POD
kubectl exec -ti {POD NAME} -n spaceone -- /bin/bash
In the POD, there is default.yml
Update local.yml
Update command
Check API is working
5. Create Personal Cloudforet Plugin Repository
Using CLI, create Personal Plugin Repository.
Check the list of repository
6. Register my own plugin
create register_plugin.yml file
Command
Check the plugins
7. Enable Plugin
In your brower, there is default screen for Cost Explorer menu.
When you enable plugin, then this screen will be changed to real data screen.
open data_source.yml
Command
8. Sync Cost Data
Remember your data_source_id in Step 7.
Submission
Reference
spacectl: https://github.com/cloudforet-io/spacectl
Beta Was this translation helpful? Give feedback.
All reactions