blob: d555ed75d24662a71cbb0f285e5f9de50f930a5a [file] [log] [blame]
Alex1f90e7b2021-09-03 15:31:28 -05001apiVersion: apps/v1
2kind: DaemonSet
3metadata:
4 name: nodeinfo
5 namespace: qa-space
6spec:
7 selector:
8 matchLabels:
9 name: nodeinfo
10 template:
11 metadata:
12 labels:
13 name: nodeinfo
14 spec:
15 tolerations:
16 # this toleration is to have the daemonset runnable on master nodes
17 # remove it if your masters can't run pods
18 - key: node-role.kubernetes.io/master
19 operator: Exists
20 effect: NoSchedule
21 containers:
22 - command:
23 - /bin/sleep
24 - infinity
25 name: nodeinfo-pod
26 imagePullPolicy: IfNotPresent
27 image: savex13/toolset-min:0.2
28 hostNetwork: true
29 terminationGracePeriodSeconds: 2