apiVersion: karpenter.sh/v1alpha5 kind: Provisioner metadata: name: default spec: requirements: - key: "karpenter.k8s.aws/instance-category" operator: In values: ["c", "m", "r"] - key: "karpenter.k8s.aws/instance-cpu" operator: In values: ["2", "4", "8", "16", "32"] - key: "karpenter.k8s.aws/instance-hypervisor" operator: In values: ["nitro"] - key: "topology.kubernetes.io/zone" operator: In values: ["us-east-1a", "us-east-1b", "us-east-1c"] - key: "kubernetes.io/arch" operator: In values: ["amd64"] - key: "karpenter.sh/capacity-type" # If not included, the webhook for the AWS cloud provider will default to on-demand operator: In values: ["on-demand", "spot"] kubeletConfiguration: containerRuntime: containerd maxPods: 110 limits: resources: cpu: 100 consolidation: enabled: true providerRef: name: default ttlSecondsUntilExpired: 604800 # 7 Days = 7 * 24 * 60 * 60 Seconds #ttlSecondsAfterEmpty: 30 ---