Integrate Nokia/danm CNI into IEC
[iec.git] / src / foundation / scripts / cni / danm / integration / manifests / svcwatcher / svcwatcher_ds.yaml
1 # yamllint disable rule:hyphens rule:commas rule:indentation
2 apiVersion: apps/v1beta2
3 kind: DaemonSet
4 metadata:
5   name: svcwatcher
6   namespace: kube-system
7 spec:
8   selector:
9     matchLabels:
10       danm.k8s.io: svcwatcher
11   template:
12     metadata:
13       annotations:
14         # Adapt to your own network environment!
15         danm.k8s.io/interfaces: |
16           [
17             {
18               "network":"flannel"
19             }
20           ]
21       labels:
22         danm.k8s.io: svcwatcher
23     spec:
24       serviceAccount: svcwatcher
25       dnsPolicy: ClusterFirst
26       nodeSelector:
27         "node-role.kubernetes.io/master": ""
28       containers:
29         - name: svcwatcher
30           image: svcwatcher
31           args:
32             - "--logtostderr"
33       tolerations:
34        - effect: NoSchedule
35          operator: Exists
36        - effect: NoExecute
37          operator: Exists
38       terminationGracePeriodSeconds: 0