Foundation / checks (checks) (push) Successful in 4s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 4m24s
Foundation / postgres-tools (push) Successful in 6s
Foundation / server-image (push) Successful in 5s
Foundation / image (push) Successful in 6s
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
# Maintainer requirement: DEV workloads must never schedule on the control plane.
|
|
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
kind: Component
|
|
patches:
|
|
- target:
|
|
kind: Deployment
|
|
patch: |-
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: worker-only
|
|
spec:
|
|
template:
|
|
spec:
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- {key: node-role.kubernetes.io/control-plane, operator: DoesNotExist}
|
|
- {key: node-role.kubernetes.io/master, operator: DoesNotExist}
|
|
- target:
|
|
kind: Job
|
|
patch: |-
|
|
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: worker-only
|
|
spec:
|
|
template:
|
|
spec:
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- {key: node-role.kubernetes.io/control-plane, operator: DoesNotExist}
|
|
- {key: node-role.kubernetes.io/master, operator: DoesNotExist}
|