ceph-csi/vendor/k8s.io/kubernetes/hack/testdata/rollingupdate-daemonset-rv2.yaml

30 lines
726 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: bind
spec:
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 10%
template:
metadata:
labels:
service: bind
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: "service"
operator: "In"
values: ["bind"]
topologyKey: "kubernetes.io/hostname"
namespaces: []
containers:
- name: kubernetes-pause
2018-03-06 22:33:18 +00:00
image: k8s.gcr.io/pause:latest
2018-01-09 18:57:14 +00:00
- name: app
2018-03-06 22:33:18 +00:00
image: k8s.gcr.io/nginx:test-cmd