kubernetes/hack/testdata/rollingupdate-daemonset.yaml
Davanum Srinivas 50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00

33 lines
735 B
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
name: bind
labels:
service: bind
spec:
selector:
matchLabels:
service: bind
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
image: registry.k8s.io/pause:2.0