mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 13:00:19 +00:00
30 lines
726 B
YAML
30 lines
726 B
YAML
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
|
|
image: k8s.gcr.io/pause:latest
|
|
- name: app
|
|
image: k8s.gcr.io/nginx:test-cmd
|