Difference between revisions of "Karpenter"

From wikieduonline
Jump to navigation Jump to search
Line 29: Line 29:
 
* <code>[[controller.node]] [[Triggering termination for expired node after]] 168h0m0s .../...</code>
 
* <code>[[controller.node]] [[Triggering termination for expired node after]] 168h0m0s .../...</code>
  
[[kubectl logs -f -n karpenter -l app.kubernetes.io/name=karpenter -c controller]]
+
* <code>[[kubectl logs -f -n karpenter -l app.kubernetes.io/name=karpenter -c controller]]</code>
  
[[kubectl patch configmap config-logging]] -n karpenter --patch '{"data":{"loglevel.controller":"debug"}}'
+
* <code>[[kubectl patch configmap config-logging]] -n karpenter --patch '{"data":{"loglevel.controller":"debug"}}'</code>
  
[[stern -n karpenter -l app.kubernetes.io/name=karpenter]]
+
* <code>[[stern -n karpenter -l app.kubernetes.io/name=karpenter]]</code>
  
 
== [[Karpenter changelog|News]] ==
 
== [[Karpenter changelog|News]] ==

Revision as of 07:13, 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

News

Activities

Related

See also

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