Karpenter

From wikieduonline
Revision as of 07:12, 3 February 2023 by Chmod15 (talk | contribs)
Jump to navigation Jump to search

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: