kind: AppInstance
apiVersion: internal.acorn.io/v1
metadata:
  name: app-name
  namespace: app-namespace
  uid: 1234567890abcdef
spec:
  image: test
  computeClass:
    "": sample-compute-class # 1Mi
    oneimage: sample-compute-class-01 # 2Mi
status:
  observedGeneration: 1
  scheduling:
    left:
      requirements:
        limits:
          memory: 2Mi
        requests:
          cpu: 2m
          memory: 2Mi
      computeClass: ""
    oneimage:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: baz
                operator: In
                values:
                - bat
      requirements:
        limits:
          memory: 2Mi
        requests:
          cpu: 2m
          memory: 2Mi
  defaults:
    memory:
      "": 0
      left: 2097152 # 2Mi
      oneimage:  2097152 # 2Mi
  namespace: app-created-namespace
  appImage:
    id: test
  appSpec:
    containers:
      oneimage:
        sidecars:
          left:
            image: "foo"
            ports:
              - port: 90
                targetPort: 91
                protocol: tcp
        ports:
        - port: 80
          targetPort: 81
          protocol: http
        image: "image-name"
        build:
          dockerfile: "Dockerfile"
          context: "."
  conditions:
    - type: defaults
      reason: Success
      status: "True"
      success: true
    - type: scheduling
      reason: Success
      status: "True"
      success: true
    - type: defined
      reason: Success
      status: "True"
      success: true