apiVersion: karpenter.ibm.sh/v1alpha1
kind: IBMNodeClass
metadata:
  name: default
spec:
  region: us-south
  zones:
    - us-south-1
    - us-south-2
    - us-south-3
  vpc: default
  resourceGroup: kscale-workload
  securityGroups: []
  tags:
    karpenter.sh/discovery: default
  # Adding required fields
  image: ibm-ubuntu-22-04-1-minimal-amd64-1
  instanceProfile:
    - bx2.2x8    # 2 vCPU, 8 GB - balanced
    - bx2.4x16   # 4 vCPU, 16 GB - balanced
    - bx2.8x32   # 8 vCPU, 32 GB - balanced
    - cx2.2x4    # 2 vCPU, 4 GB - compute optimized
    - cx2.4x8    # 4 vCPU, 8 GB - compute optimized
    - cx2.8x16   # 8 vCPU, 16 GB - compute optimized
    - mx2.2x16   # 2 vCPU, 16 GB - memory optimized
    - mx2.4x32   # 4 vCPU, 32 GB - memory optimized
    - mx2.8x64   # 8 vCPU, 64 GB - memory optimized
  subnet:
    us-south-1: "{{ SUBNET_ID.US_SOUTH_1 }}"
    us-south-2: "{{ SUBNET_ID.US_SOUTH_2 }}"
    us-south-3: "{{ SUBNET_ID.US_SOUTH_3 }}"
