zh-trans: add examples/podpreset/ examples/pods/{config,inject,probe,qos,resource,security,storage} yaml files

This commit is contained in:
Rui Chen
2018-12-03 09:36:16 -05:00
parent 13953625e4
commit b6d431ea4d
54 changed files with 1115 additions and 0 deletions
@@ -0,0 +1,26 @@
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