Resolve conflict to merge dev-1.24-ko.1

Signed-off-by: seokho-son <shsongist@gmail.com>
This commit is contained in:
seokho-son
2022-07-02 20:18:28 +09:00
committed by Jihoon Seo
parent 4d808c9616
commit 5b5712ec71
2 changed files with 292 additions and 225 deletions
@@ -0,0 +1,33 @@
apiVersion: v1
kind: Pod
metadata:
name: with-affinity-anti-affinity
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: topology.kubernetes.io/zone
operator: In
values:
- antarctica-east1
- antarctica-west1
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: label-1
operator: In
values:
- key-1
- weight: 50
preference:
matchExpressions:
- key: label-2
operator: In
values:
- key-2
containers:
- name: with-node-affinity
image: k8s.gcr.io/pause:2.0