A Helm chart for CloudPilot, a one-stop solution to reduce your cloud infrastructure costs by 50%.
Run the following command:
helm upgrade -i cloudpilot onboard/CloudPilot --version "${CLOUDPILOT_VERSION}" --namespace cloudpilot \
--set "settings.clusterName=${CLUSTER_NAME}" \
--set affinity.nodeAffinity=null \
--set replicas=2 \
--set serviceAccount.name=cloudpilot-admin \
--set "serviceAccount.annotations.eks\.amazonaws\.com/role-arn=arn:${AWS_PARTITION}:iam::${AWS_ACCOUNT_ID}:role/CloudPilotControllerRole-${CLUSTER_NAME}" \
--set controller.resources.requests.cpu=1 \
--set controller.resources.requests.memory=1Gi \
--set controller.resources.limits.cpu=1 \
--set controller.resources.limits.memory=1Gi \
--set "cloudPilotSettings.cloudPilotAPIEndpoint=${CLOUDPILOT_API_ENDPOINT}" \
--set "cloudPilotSettings.cloudPilotAPIKey=${CLOUDPILOT_API_KEY}" \
--set "cloudPilotSettings.awsRegion=${AWS_REGION}" \
--set "cloudPilotSettings.clusterID=${CLUSTER_ID}"
Run following command the check whether all the components ready:
CloudPilot related parameters are as follows:
| Key | Type | Default Value | Description |
|---|---|---|---|
| cloudPilotAPIEndpoint | string | https://api.cloudpilot.ai |
CloudPilot API endpoint |
| cloudPilotAPIKey | string | "" |
CloudPilot API key |
| cloudProvider | string | "aws" |
Cloud provider |
| clusterID | string | "" |
Cluster ID |
| clusterName | string | "" |
Cluster name |
| awsRegion | string | "" |
AWS region |
| awsPartition | string | "aws" |
AWS partition |
If you want to check other parameters, please see: https://github.com/aws/karpenter/tree/main/charts/karpenter.