Supported Cloud Providers:
NOTE: For clusters with AWS make sure AWS CLI is installed and properly configured using an AWS account
NOTE: For clusters with GCP make sure GCP CLI is installed.
A google service account is required to give proper authentication to GCP for node actions. See here for how to create a service account.
NOTE: A user with 'resourcemanager.projects.setIamPolicy' permission is required to grant project-level permissions to the service account.
After creating the service account you will need to enable the account using the following: export GOOGLE_APPLICATION_CREDENTIALS="<serviceaccount.json>"
NOTE: For clusters with Openstack Cloud, ensure to create and source the OPENSTACK RC file to set the OPENSTACK environment variables from the server where Kraken runs.
NOTE: For Azure node killing scenarios, make sure Azure CLI is installed.
You will also need to create a service principal and give it the correct access, see here for creating the service principal and setting the proper permissions.
To properly run the service principal requires “Azure Active Directory Graph/Application.ReadWrite.OwnedBy” api permission granted and “User Access Administrator”.
Before running you will need to set the following:
-
Login using
az login
-
export AZURE_TENANT_ID=<tenant_id>
-
export AZURE_CLIENT_SECRET=<client secret>
-
export AZURE_CLIENT_ID=<client id>
See the Installation guide to install alicloud cli.
-
export ALIBABA_ID=<access_key_id>
-
export ALIBABA_SECRET=<access key secret>
-
export ALIBABA_REGION_ID=<region id>
Refer to region and zone page to get the region id for the region you are running on.
Set cloud_type to either alibaba or alicloud in your node scenario yaml file.
Set the following environment variables
-
export VSPHERE_IP=<vSphere_client_IP_address>
-
export VSPHERE_USERNAME=<vSphere_client_username>
-
export VSPHERE_PASSWORD=<vSphere_client_password>
These are the credentials that you would normally use to access the vSphere client.
If no api key is set up with proper VPC resource permissions, use the following to create:
- Access group
- Service id with the following access
- With policy VPC Infrastructure Services
- Resources = All
- Roles:
- Editor
- Administrator
- Operator
- Viewer
- API Key
Set the following environment variables
-
export IBMC_URL=https://<region>.iaas.cloud.ibm.com/v1
-
export IBMC_APIKEY=<ibmcloud_api_key>