github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/karpenter.sh/NodePool/testdata/degraded.yaml (about)

     1  apiVersion: karpenter.sh/v1
     2  kind: NodePool
     3  metadata:
     4    name: nodepool
     5  spec:
     6    disruption:
     7      budgets:
     8        - nodes: 100%
     9      consolidateAfter: 10m
    10      consolidationPolicy: WhenEmptyOrUnderutilized
    11    limits:
    12      cpu: 10001
    13    template:
    14      spec:
    15        expireAfter: 720h
    16        nodeClassRef:
    17          group: karpenter.k8s.aws
    18          kind: EC2NodeClass
    19          name: default1
    20        requirements:
    21          - key: karpenter.k8s.aws/instance-family
    22            operator: In
    23            values:
    24              - m51
    25          - key: karpenter.k8s.aws/instance-size
    26            operator: In
    27            values:
    28              - large1
    29              - xlarge1
    30              - 2xlarge1
    31  status:
    32    conditions:
    33      - message: NodePool is not ready
    34        reason: NotReady
    35        status: "False"
    36        type: Ready