kubespray icon indicating copy to clipboard operation
kubespray copied to clipboard

feat/kube-vip-cloud-provider-autodeploy

Open chrxmvtik opened this issue 11 months ago • 6 comments

What type of PR is this?

/kind feature

What this PR does / why we need it:

Kube VIP addon contains a setting that let us load-balance services (kube_vip_services_enabled: true), however to make it work, we need to deploy Kube VIP Cloud Provider manually when cluster is deployed.

In order to make this ready in the out of the box manner, I've added a possibility to deploy Cloud Provider that will include all required settings (just one variable actually).

It doesn't cost us much space and trouble, but makes more sense related to service loadbalancing setting that can be set like right now.

Does this PR introduce a user-facing change?:

User have possibility to set two new settings in addons (Line 263):

# Kube VIP Cloud Provider
kube_vip_cloud_provider_enabled: false
# Define your own IP Pools or leave empty {}
kube_vip_cloud_provider_ip_pools:
  cidr-global: 172.16.0.0/24
  cidr-default: 192.168.0.200/30,192.168.0.200/29
  range-development: 192.168.0.210-192.168.0.220
  cidr-ipv6: 2001::10/127

chrxmvtik avatar Mar 12 '24 19:03 chrxmvtik