---
kind: ClusterComputeClassInstance
apiVersion: internal.admin.acorn.io/v1
metadata:
  name: sample-compute-class
description: Simple description for a simple ComputeClass
cpuScaler: 0.25
memory:
  min: 1Mi # 1Mi
  max: 2Mi # 2Mi
  default: 1Mi # 1Mi
affinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: foo
          operator: In
          values:
          - bar
---
kind: ClusterComputeClassInstance
apiVersion: internal.admin.acorn.io/v1
metadata:
  name: sample-compute-class-01
description: Simple description for a simple ComputeClass
cpuScaler: 1
memory:
  min: 1Mi # 1Mi
  max: 2Mi # 2Mi
  default: 2Mi # 1Mi
affinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: baz
          operator: In
          values:
          - bat