mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +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:
@@ -28,8 +28,13 @@ kube_ovn_dpdk_node_memory_request: 2Gi
|
||||
kube_ovn_dpdk_node_cpu_limit: 1000m
|
||||
kube_ovn_dpdk_node_memory_limit: 2Gi
|
||||
|
||||
kube_ovn_central_replics: 1
|
||||
kube_ovn_controller_replics: 1
|
||||
kube_ovn_central_hosts: "{{ groups['kube_control_plane'] }}"
|
||||
kube_ovn_central_replics: "{{ kube_ovn_central_hosts | length }}"
|
||||
kube_ovn_controller_replics: "{{ kube_ovn_central_hosts | length }}"
|
||||
kube_ovn_central_ips: |-
|
||||
{% for item in kube_ovn_central_hosts -%}
|
||||
{{ hostvars[item]['ip'] | default(fallback_ips[item]) }}{% if not loop.last %},{% endif %}
|
||||
{%- endfor %}
|
||||
|
||||
# geneve or vlan
|
||||
kube_ovn_network_type: geneve
|
||||
|
||||
Reference in New Issue
Block a user