...

Text file src/edge-infra.dev/config/pallets/sds/vms/kubevirt-cdi/base/cdi-cr.yaml

Documentation: edge-infra.dev/config/pallets/sds/vms/kubevirt-cdi/base

     1apiVersion: cdi.kubevirt.io/v1beta1
     2kind: CDI
     3metadata:
     4  name: cdi
     5spec:
     6  imagePullPolicy: IfNotPresent
     7  config:
     8    imagePullSecrets:
     9    - name: edge-docker-pull-secret
    10    featureGates:
    11    - HonorWaitForFirstConsumer
    12  infra:
    13    affinity:
    14      nodeAffinity:
    15        preferredDuringSchedulingIgnoredDuringExecution:
    16        - preference:
    17            matchExpressions:
    18            - key: node.ncr.com/class
    19              operator: In
    20              values:
    21              - server
    22          weight: 100
    23        requiredDuringSchedulingIgnoredDuringExecution:
    24          nodeSelectorTerms:
    25          - matchExpressions:
    26            - key: node.ncr.com/class
    27              operator: NotIn
    28              values:
    29              - touchpoint
    30            - key: node.ncr.com/role
    31              operator: NotIn
    32              values:
    33              - worker
    34          - matchExpressions:
    35            - key: node.ncr.com/role
    36              operator: In
    37              values:
    38              - controlplane
    39          - matchExpressions:
    40            - key: virtual.machines/schedulable
    41              operator: Exists
    42    tolerations:
    43    - key: CriticalAddonsOnly
    44      operator: Exists
    45  priorityClass: edge-p3-workload-services

View as plain text