Karpenter custom resources for Kubernetes.
- Kubernetes 1.28+
- Helm 3.9+
Below is the extended README.md, the full configuration table based on the provided values.yaml
is in VALUES.md file, release updates posted in the CHANGELOG.md file.
The karpenter-cr
Helm chart deploys custom resources for Karpenter, including NodePool and EC2NodeClass, to manage the underlying EC2 infrastructure efficiently for a Kubernetes cluster.
Before installing the chart, add the Karpenter Helm repository:
helm repo add karpenter logzio-chartmuseum/karpenter-cr
helm repo update
Karpenter custom resources for Kubernetes.
- Kubernetes 1.28+
- Helm 3.9+
Below is the extended README.md, the full configuration table based on the provided values.yaml
is in VALUES.md file, release updates posted in the CHANGELOG.md file.
The karpenter-cr
Helm chart deploys custom resources for Karpenter, including NodePool and EC2NodeClass, to manage the underlying EC2 infrastructure efficiently for a Kubernetes cluster.
Before installing the chart, add the Karpenter Helm repository:
helm repo add karpenter https://karpenter.sh/charts
helm repo update
-
Create the Karpenter Secret
If not managing secrets externally, create the Karpenter secret with your relevant information.
-
Install the Chart
Install
karpenter-cr
from the Karpenter Helm repository, specifying the necessary values:helm upgrade --install --namespace kube-system --create-namespace \ --set "karpenter.serviceAccount.annotations.eks\.amazonaws\.com/role-arn=${KARPENTER_IAM_ROLE_ARN}" \ --set karpenter.settings.clusterName=${CLUSTER_NAME} \ --set karpenter.settings.interruptionQueue=${CLUSTER_NAME} \ --set nodeInstanceGroups.AMISelectorTerms.ids=["ami-123"] \ --set nodeInstanceGroups.SecurityGroupSelectorTerms.ids=["sg-aaaaaaaaaaaaaaaaa"] \ --set nodeInstanceGroups.SubnetSelectorTerms.ids=["subnet-aaaaaaaaaaaaa"] \ --set nodeInstanceGroups.Role="KarpenterNodeRole" \ --wait \ karpenter-cr logzio-chartmuseum/karpenter-cr
To uninstall/delete the karpenter-cr
deployment:
helm delete -n kube-system karpenter-cr
You can use the following options to update the Helm chart values parameters:
-
Specify parameters using the
--set key=value[,key=value]
argument tohelm install
-
Edit the
values.yaml
-
Overide default values with your own
my_values.yaml
and apply it in thehelm install
command.