blob: 77fc73932adeddc2cc8198d1596b9294457c9692 [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
Alex18c051d2023-05-08 10:22:43 -050027 image: registry.mirantis.com/toolset-min:latest
Alex1f90e7b2021-09-03 15:31:28 -050028 hostNetwork: true
29 terminationGracePeriodSeconds: 2