flanksource / is-healthy

Apache License 2.0
0 stars 1 forks source link

Karpenter health #38

Open moshloop opened 4 weeks ago

moshloop commented 4 weeks ago
- apiVersion: karpenter.sh/v1beta1
  kind: NodeClaim
  metadata:
    annotations:
      karpenter.sh/nodepool-hash: "12876021563937310751"
      karpenter.sh/nodepool-hash-version: v2
    creationTimestamp: "2024-06-20T21:48:29Z"
    finalizers:
    - karpenter.sh/termination
    generateName: default-
    generation: 1
    labels:
      karpenter.sh/nodepool: default
    name: default-mldgp
    ownerReferences:
    - apiVersion: karpenter.sh/v1beta1
      blockOwnerDeletion: true
      kind: NodePool
      name: default
      uid: 4b8e0f8c-5be9-485d-bba2-e0d6f7252b36
    resourceVersion: "2618958828"
    uid: 6e07a163-08c6-4b24-b6b2-dc6d3bb06f23
  spec:
    nodeClassRef:
      apiVersion: karpenter.k8s.aws/v1beta1
      kind: EC2NodeClass
      name: default
    requirements:
    - key: karpenter.sh/nodepool
      operator: In
      values:
      - default
    - key: node.kubernetes.io/instance-type
      operator: In
      values:
      - r7i.2xlarge
      - r7i.xlarge
    - key: karpenter.k8s.aws/instance-family
      operator: In
      values:
      - r7i
    - key: karpenter.k8s.aws/instance-cpu
      operator: In
      values:
      - "4"
      - "8"
    resources:
      requests:
        cpu: 3256m
        memory: 20224Mi
        pods: "10"
    taints:
    - effect: NoSchedule
      key: karpenter/ec2
  status:
    conditions:
    - lastTransitionTime: "2024-06-20T21:48:29Z"
      message: Node not launched
      reason: NotLaunched
      status: "False"
      type: Initialized
    - lastTransitionTime: "2024-06-20T21:53:37Z"
      message: 'creating instance, with fleet error(s), AuthFailure.ServiceLinkedRoleCreationNotPermitted:
        The provided credentials do not have permission to create the service-linked
        role for EC2 Spot Instances.'
      reason: LaunchFailed
      status: "False"
      type: Launched
    - lastTransitionTime: "2024-06-20T21:53:37Z"
      message: Launched=False, Initialized=False, Registered=False
      reason: UnhealthyDependents
      status: "False"
      type: Ready
    - lastTransitionTime: "2024-06-20T21:48:29Z"
      message: Node not launched
      reason: NotLaunched
      status: "False"
      type: Registered