mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
33 lines
730 B
YAML
33 lines
730 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: k8s.gcr.io/pause:2.0
|