mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-07 02:27:43 +03:00
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:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user