...

Text file src/edge-infra.dev/config/components/edge/patches/prometheus-patch/patch.yaml

Documentation: edge-infra.dev/config/components/edge/patches/prometheus-patch

     1kind: ss-deployment-job
     2metadata:
     3  name: any
     4spec:
     5  priorityClassName: edge-p4-operability-services
     6  affinity:
     7    nodeAffinity:
     8      requiredDuringSchedulingIgnoredDuringExecution:
     9        nodeSelectorTerms:
    10        - matchExpressions:
    11          - key: node.ncr.com/class
    12            operator: NotIn
    13            values:
    14            - touchpoint
    15          - key: node.ncr.com/role
    16            operator: NotIn
    17            values:
    18            - worker
    19        - matchExpressions:
    20          - key: node.ncr.com/role
    21            operator: In
    22            values:
    23            - controlplane
    24      preferredDuringSchedulingIgnoredDuringExecution:
    25      - weight: 100
    26        preference:
    27          matchExpressions:
    28          - key: node.ncr.com/class
    29            operator: In
    30            values:
    31            - server
    32  tolerations:
    33  - key: node.kubernetes.io/not-ready
    34    operator: Exists
    35    effect: NoExecute
    36  - key: node.kubernetes.io/unreachable
    37    operator: Exists
    38    effect: NoExecute
    39  - key: node.kubernetes.io/disk-pressure
    40    operator: Exists
    41    effect: NoSchedule
    42  - key: node.kubernetes.io/memory-pressure
    43    operator: Exists
    44    effect: NoSchedule
    45  - key: node.kubernetes.io/pid-pressure
    46    operator: Exists
    47    effect: NoSchedule
    48  - key: node.kubernetes.io/unschedulable
    49    operator: Exists
    50    effect: NoSchedule
    51  - key: node.kubernetes.io/network-unavailable
    52    operator: Exists
    53    effect: NoSchedule

View as plain text