Skip to main content

Karpenter Scheduling


Well-Knwon Labels


  • topology.kubernetes.io/zone
    • AWS: <zone> = <awsAvailabilityZone>
  • node.kubernetes.io/instance-type
    • AWS: <instanceType>=<instanceCategory><instanceGeneration>[<attribute>].<instanceSize>
      • c5n.xlarge = c + 5 + n + xlarge
  • karpenter.sh/capacity-type: on-demand|spot, 둘 다 선언하면 우선순위는 1.spot 2.on-demand 입니다.
  • karpenter.k8s.aws/instance-category
  • karpenter.k8s.aws/instance-generation
  • karpenter.k8s.aws/instance-family
    • AWS: <instanceFamily> = <instanceCategory><instanceGeneration>[<attribute>]
  • karpenter.k8s.aws/instance-size
  • karpenter.k8s.aws/instance-cpu
  • karpenter.k8s.aws/instance-memory

Affinity

Topology Spread