Difference between revisions of "Karpenter"

From wikieduonline
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Karpenter (Nov 2021) <ref>https://aws.amazon.com/blogs/aws/introducing-karpenter-an-open-source-high-performance-kubernetes-cluster-autoscaler/</ref> Kubernetes cluster [[autoscaling]].
+
[[wikipedia:Karpenter]] (Nov [[2021]]) <ref>https://aws.amazon.com/blogs/aws/introducing-karpenter-an-open-source-high-performance-kubernetes-cluster-autoscaler/</ref> Kubernetes cluster [[autoscaling]].
 
* https://karpenter.sh/  
 
* https://karpenter.sh/  
 
* https://docs.aws.amazon.com/eks/latest/userguide/autoscaling.html#karpenter
 
* https://docs.aws.amazon.com/eks/latest/userguide/autoscaling.html#karpenter
Line 11: Line 11:
 
  [[helm repo add karpenter https://charts.karpenter.sh/]]
 
  [[helm repo add karpenter https://charts.karpenter.sh/]]
 
  [[helm repo update]]
 
  [[helm repo update]]
 +
[[helm install karpenter]]
  
  [[helm upgrade --install --namespace karpenter --create-namespace karpenter karpenter/karpenter]] \
+
  [[kind: NodePool]]
  --version [[v0.6.3]] \
+
[[kind: EC2NodeClass]]
  --set serviceAccount.annotations."eks\.amazonaws\.com/role-arn"=${KARPENTER_IAM_ROLE_ARN} \
+
[[kind: AWSNodeTemplate]]
  --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]]
 
  
  
Line 24: Line 21:
 
* <code>[[kubectl describe provisioner]]</code>
 
* <code>[[kubectl describe provisioner]]</code>
 
* <code>[[kind: Provisioner]]</code>
 
* <code>[[kind: Provisioner]]</code>
 +
* <code>[[kubectl get all -n karpenter]]</code>
  
 
== Logs ==
 
== Logs ==
Line 29: Line 27:
 
* <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>
 +
 
 +
== Events ==
 +
* <code>[[InstanceTerminating]]</code>
  
 
== [[Karpenter changelog|News]] ==
 
== [[Karpenter changelog|News]] ==
Line 48: Line 49:
 
== Related ==
 
== Related ==
 
* [[Amazon EC2 Instance types]]:  
 
* [[Amazon EC2 Instance types]]:  
 +
* [[AWS Auto Scaling Groups (ASG)]]
 
* [[Kubernetes Autoscaler]]
 
* [[Kubernetes Autoscaler]]
 
* [[Escalator]]
 
* [[Escalator]]
Line 69: Line 71:
 
* <code>[[kubectl get events]]</code>: <code>[[FailedScheduling]]</code>
 
* <code>[[kubectl get events]]</code>: <code>[[FailedScheduling]]</code>
 
* [[Cilium]]
 
* [[Cilium]]
 +
 +
* [[Kubernetes Event-Driven Autoscaling (KEDA)]]
 +
* [[Amazon EKS to run Kubernetes Pods on AWS Fargate]]
 +
* [[AKS Node autoprovisioning]]
 +
* [[GKE node auto-provisioning]]
  
 
== See also ==
 
== See also ==
 +
* {{karpenter.sh}}
 
* {{kubectl provisioner}}
 
* {{kubectl provisioner}}
 
* {{Karpenter}}
 
* {{Karpenter}}

Latest revision as of 07:24, 3 October 2024

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

helm repo add karpenter https://charts.karpenter.sh/
helm repo update
helm install karpenter
kind: NodePool
kind: EC2NodeClass
kind: AWSNodeTemplate


Logs[edit]

Events[edit]

News[edit]

Activities[edit]

Related[edit]

See also[edit]

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