mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
Add manual option to the external_cloud_provider variable (#11883)
* Add `manual` option in the `external_cloud_provider` value Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> * Update external cloud provider description in roles & sample inventory Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --------- Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
@@ -45,9 +45,11 @@ loadbalancer_apiserver_healthcheck_port: 8081
|
||||
## If set the possible values only 'external' after K8s v1.31.
|
||||
# cloud_provider:
|
||||
|
||||
## When cloud_provider is set to 'external', you can set the cloud controller to deploy
|
||||
## Supported cloud controllers are: 'openstack', 'vsphere', 'huaweicloud' and 'hcloud'
|
||||
## When openstack or vsphere are used make sure to source in the required fields
|
||||
# External Cloud Controller Manager (Formerly known as cloud provider)
|
||||
# cloud_provider must be "external", otherwise this setting is invalid.
|
||||
# Supported external cloud controllers are: 'openstack', 'vsphere', 'oci', 'huaweicloud', 'hcloud' and 'manual'
|
||||
# 'manual' does not install the cloud controller manager used by Kubespray.
|
||||
# If you fill in a value other than the above, the check will fail.
|
||||
# external_cloud_provider:
|
||||
|
||||
## Set these proxy values in order to update package manager and docker daemon to use proxies and custom CA for https_proxy if needed
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
|
||||
- name: Check external_cloud_provider value
|
||||
assert:
|
||||
that: external_cloud_provider in ['hcloud', 'huaweicloud', 'oci', 'openstack', 'vsphere']
|
||||
that: external_cloud_provider in ['hcloud', 'huaweicloud', 'oci', 'openstack', 'vsphere', 'manual']
|
||||
when:
|
||||
- cloud_provider == 'external'
|
||||
- not ignore_assert_errors
|
||||
|
||||
@@ -285,7 +285,8 @@ kubelet_shutdown_grace_period_critical_pods: 20s
|
||||
cloud_provider: ""
|
||||
# External Cloud Controller Manager (Formerly known as cloud provider)
|
||||
# cloud_provider must be "external", otherwise this setting is invalid.
|
||||
# Supported external cloud controllers are: 'openstack', 'vsphere', 'oci', 'huaweicloud' and 'hcloud'
|
||||
# Supported external cloud controllers are: 'openstack', 'vsphere', 'oci', 'huaweicloud', 'hcloud' and 'manual'
|
||||
# 'manual' does not install the cloud controller manager used by Kubespray.
|
||||
# If you fill in a value other than the above, the check will fail.
|
||||
external_cloud_provider: ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user