c87a30450a
1. Confirm the document content is similar as en version.
2. Merge the zh release-1.14 version into 1.15 version
3. add the 1.14 all sample into 1.15 for template work. The build looks fine.
- docs
- concepts
- architecture
26 lines
658 B
YAML
26 lines
658 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: with-node-affinity
|
|
spec:
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: kubernetes.io/e2e-az-name
|
|
operator: In
|
|
values:
|
|
- e2e-az1
|
|
- e2e-az2
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- weight: 1
|
|
preference:
|
|
matchExpressions:
|
|
- key: another-node-label-key
|
|
operator: In
|
|
values:
|
|
- another-node-label-value
|
|
containers:
|
|
- name: with-node-affinity
|
|
image: k8s.gcr.io/pause:2.0 |