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

@@ -1,7 +1,7 @@
---
- name: Kube-OVN | Label ovn-db node
command: >-
{{ kubectl }} label --overwrite node {{ groups['kube_control_plane'] | first }} kube-ovn/role=master
command: "{{ kubectl }} label --overwrite node {{ item }} kube-ovn/role=master"
loop: "{{ kube_ovn_central_hosts }}"
when:
- inventory_hostname == groups['kube_control_plane'][0]