Cluster support for ovn-central. (#9596)

Without minimal cluster configuration, even on a one node control plane,
the health check of the ovn-cental container always fails as it queries the
cluster/status.
This commit is contained in:
Jochen Friedrich
2022-12-28 05:51:27 +01:00
committed by GitHub
parent ab80342750
commit 136f14dec4
3 changed files with 13 additions and 4 deletions

View File

@@ -249,6 +249,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: NODE_IPS
value: "{{ kube_ovn_central_ips }}"
- name: POD_NAME
valueFrom:
fieldRef:
@@ -386,6 +388,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: OVN_DB_IPS
value: "{{ kube_ovn_central_ips }}"
volumeMounts:
- mountPath: /var/run/netns
name: host-ns