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}"
The base chart and EKS install scripts install the NRI plugin component by default
on EKS 1.34 and later. Rerunning the installation script also installs it on
clusters that did not previously have NRI. Set SKIP_NRI_PLUGIN=true or ENABLE_NRI_PLUGIN=false
before running the script to skip it; direct Helm installs can set
nriPlugin.enabled=false. A supported release must provide a valid NRI image,
or an existing installation must provide its fallback image.
Installing the component does not enable a NodePool’s swap policy. Its Pods only run on Linux amd64 or arm64 nodes explicitly enabled for NRI. Enable Memory Extension on the referenced NodeClass and the NRI policy on the NodePool separately.
CloudPilot automatic image upgrades update an existing NRI DaemonSet and skip it when absent. They do not install missing NRI resources.
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.