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'll 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'll 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>