Difference between revisions of "Karpenter"

From wikieduonline
Jump to navigation Jump to search
Line 31: Line 31:
  
 
  [[kubectl patch configmap config-logging]] -n karpenter --patch '{"data":{"loglevel.controller":"debug"}}'
 
  [[kubectl patch configmap config-logging]] -n karpenter --patch '{"data":{"loglevel.controller":"debug"}}'
 +
 +
[[stern -n karpenter -l app.kubernetes.io/name=karpenter]]
  
 
== [[Karpenter changelog|News]] ==
 
== [[Karpenter changelog|News]] ==

Revision as of 13:30, 26 January 2023

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

controller.
karpenter.sh
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: