mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Fixed kube-vip to use kube-vip/kube-vip-iptables image instead of kube-vip/kube-vip when lb_fwdmethod or kube_vip_lb_fwdmethod is set to masquerade (#12145)
This commit is contained in:
@@ -238,6 +238,7 @@ kube_vip_enabled: false
|
|||||||
# kube_vip_cp_detect: false
|
# kube_vip_cp_detect: false
|
||||||
# kube_vip_leasename: plndr-cp-lock
|
# kube_vip_leasename: plndr-cp-lock
|
||||||
# kube_vip_enable_node_labeling: false
|
# kube_vip_enable_node_labeling: false
|
||||||
|
# kube_vip_lb_fwdmethod: local
|
||||||
|
|
||||||
# Node Feature Discovery
|
# Node Feature Discovery
|
||||||
node_feature_discovery_enabled: false
|
node_feature_discovery_enabled: false
|
||||||
|
|||||||
@@ -83,7 +83,6 @@ kube_vip_bgppeers:
|
|||||||
kube_vip_address:
|
kube_vip_address:
|
||||||
kube_vip_enableServicesElection: false
|
kube_vip_enableServicesElection: false
|
||||||
kube_vip_lb_enable: false
|
kube_vip_lb_enable: false
|
||||||
kube_vip_lb_fwdmethod: local
|
|
||||||
kube_vip_leasename: plndr-cp-lock
|
kube_vip_leasename: plndr-cp-lock
|
||||||
kube_vip_svc_leasename: plndr-svcs-lock
|
kube_vip_svc_leasename: plndr-svcs-lock
|
||||||
kube_vip_leaseduration: 5
|
kube_vip_leaseduration: 5
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ multus_image_tag: "v{{ multus_version }}"
|
|||||||
external_openstack_cloud_controller_image_repo: "{{ kube_image_repo }}/provider-os/openstack-cloud-controller-manager"
|
external_openstack_cloud_controller_image_repo: "{{ kube_image_repo }}/provider-os/openstack-cloud-controller-manager"
|
||||||
external_openstack_cloud_controller_image_tag: "v1.32.0"
|
external_openstack_cloud_controller_image_tag: "v1.32.0"
|
||||||
|
|
||||||
kube_vip_image_repo: "{{ github_image_repo }}/kube-vip/kube-vip"
|
kube_vip_image_repo: "{{ github_image_repo }}/kube-vip/kube-vip{{ '-iptables' if kube_vip_lb_fwdmethod == 'masquerade' else '' }}"
|
||||||
kube_vip_image_tag: v0.8.9
|
kube_vip_image_tag: v0.8.9
|
||||||
nginx_image_repo: "{{ docker_image_repo }}/library/nginx"
|
nginx_image_repo: "{{ docker_image_repo }}/library/nginx"
|
||||||
nginx_image_tag: 1.27.4-alpine
|
nginx_image_tag: 1.27.4-alpine
|
||||||
|
|||||||
@@ -80,7 +80,9 @@ kube_proxy_nodeport_addresses: >-
|
|||||||
# Set to true to allow pre-checks to fail and continue deployment
|
# Set to true to allow pre-checks to fail and continue deployment
|
||||||
ignore_assert_errors: false
|
ignore_assert_errors: false
|
||||||
|
|
||||||
|
# kube-vip
|
||||||
kube_vip_enabled: false
|
kube_vip_enabled: false
|
||||||
|
kube_vip_lb_fwdmethod: local
|
||||||
|
|
||||||
# nginx-proxy configure
|
# nginx-proxy configure
|
||||||
nginx_config_dir: "/etc/nginx"
|
nginx_config_dir: "/etc/nginx"
|
||||||
|
|||||||
Reference in New Issue
Block a user