Difference between revisions of "Karpenter"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
* <code>[[controller.]]</code>
 
* <code>[[controller.]]</code>
  
[[karpenter.sh]]
+
* <code>[[karpenter.sh]]</code>
 +
 
 
* [[Karpenter releases|Releases]]: https://github.com/aws/karpenter/releases
 
* [[Karpenter releases|Releases]]: https://github.com/aws/karpenter/releases
  

Revision as of 07:12, 3 February 2023

Karpenter (Nov 2021) [1] Kubernetes cluster autoscaling.

helm repo add karpenter https://charts.karpenter.sh/
helm repo update
helm upgrade --install --namespace karpenter --create-namespace karpenter karpenter/karpenter \
  --version v0.6.3 \
  --set serviceAccount.annotations."eks\.amazonaws\.com/role-arn"=${KARPENTER_IAM_ROLE_ARN} \
  --set clusterName=${CLUSTER_NAME} \
  --set clusterEndpoint=${CLUSTER_ENDPOINT} \
  --set aws.defaultInstanceProfile=KarpenterNodeInstanceProfile-${CLUSTER_NAME} \
  --wait # for the defaulting webhook to install before creating a Provisioner


Logs

kubectl logs -f -n karpenter -l app.kubernetes.io/name=karpenter -c controller
kubectl patch configmap config-logging -n karpenter --patch '{"data":{"loglevel.controller":"debug"}}'
stern -n karpenter -l app.kubernetes.io/name=karpenter

News

Activities

Related

See also

  • https://aws.amazon.com/blogs/aws/introducing-karpenter-an-open-source-high-performance-kubernetes-cluster-autoscaler/
  • Advertising: