1 # yamllint disable rule:hyphens rule:commas rule:indentation
4 # starts master daemons, each in a separate container
5 # it is run on the master node(s)
10 # namespace set up by install
11 namespace: ovn-kubernetes
13 kubernetes.io/description: |
14 This daemonset launches the ovn-kubernetes networking components.
16 progressDeadlineSeconds: 600
18 revisionHistoryLimit: 10
33 openshift.io/component: network
34 beta.kubernetes.io/os: "linux"
36 scheduler.alpha.kubernetes.io/critical-pod: ''
38 # Requires fairly broad permissions - ability to read all services and network functions as well
40 serviceAccountName: ovn
46 - name: run-ovn-northd
47 image: "iecedge/ovn-daemonset:latest"
48 imagePullPolicy: "IfNotPresent"
50 command: ["/root/ovnkube.sh", "run-ovn-northd"]
58 # Run directories where we need to be able to access sockets
59 - mountPath: /var/run/dbus/
60 name: host-var-run-dbus
62 - mountPath: /var/log/openvswitch/
63 name: host-var-log-ovs
64 - mountPath: /var/run/openvswitch/
65 name: host-var-run-ovs
72 - name: OVN_DAEMONSET_VERSION
74 - name: OVN_LOG_NORTHD
75 value: "-vconsole:info"
94 fieldPath: spec.nodeName
95 - name: OVN_KUBERNETES_NAMESPACE
98 fieldPath: metadata.namespace
102 # TODO: Temporarily disabled until we determine how to wait for clean default
105 # initialDelaySeconds: 10
114 image: "iecedge/ovn-daemonset:latest"
115 imagePullPolicy: "IfNotPresent"
117 command: ["/root/ovnkube.sh", "run-nbctld"]
123 - mountPath: /var/log/openvswitch/
124 name: host-var-log-ovs
125 - mountPath: /var/run/openvswitch/
126 name: host-var-run-ovs
133 - name: OVN_DAEMONSET_VERSION
135 - name: K8S_APISERVER
144 # TODO: Temporarily disabled until we determine how to wait for clean default
147 # initialDelaySeconds: 10
154 - name: ovnkube-master
155 image: "iecedge/ovn-daemonset:latest"
156 imagePullPolicy: "IfNotPresent"
158 command: ["/root/ovnkube.sh", "ovn-master"]
164 # Run directories where we need to be able to access sockets
165 - mountPath: /var/run/dbus/
166 name: host-var-run-dbus
168 - mountPath: /var/log/ovn-kubernetes/
169 name: host-var-log-ovnkube
170 - mountPath: /var/run/openvswitch/
171 name: host-var-run-ovs
178 - name: OVN_DAEMONSET_VERSION
180 - name: OVNKUBE_LOGLEVEL
192 - name: K8S_APISERVER
200 fieldPath: spec.nodeName
201 - name: OVN_KUBERNETES_NAMESPACE
204 fieldPath: metadata.namespace
208 # TODO: Temporarily disabled until we determine how to wait for clean default
211 # initialDelaySeconds: 10
220 node-role.kubernetes.io/master: ""
221 beta.kubernetes.io/os: "linux"
223 # TODO: Need to check why we need this?
224 - name: host-var-run-dbus
227 - name: host-var-log-ovs
229 path: /var/log/openvswitch
230 - name: host-var-log-ovnkube
232 path: /var/log/ovn-kubernetes
233 - name: host-var-run-ovs
235 path: /var/run/openvswitch