Enable --external-cloud-volume-plugin/--provider-id for local-up-cluster
See the following commit for more information about the
--external-cloud-volume-plugin flag:
070a7b5823
We need this flag for EXTERNAL_CLOUD_PROVIDER flag to work properly with
volume plugins
Also add --provider-id defaulting to hostname as we seem to pick
up the ip address otherwise causing problem with looking up the
node in the cloud provider
This commit is contained in:
@@ -608,6 +608,9 @@ function start_controller_manager {
|
||||
cloud_config_arg="--cloud-provider=${CLOUD_PROVIDER} --cloud-config=${CLOUD_CONFIG}"
|
||||
if [[ "${EXTERNAL_CLOUD_PROVIDER:-}" == "true" ]]; then
|
||||
cloud_config_arg="--cloud-provider=external"
|
||||
cloud_config_arg+=" --external-cloud-volume-plugin=${CLOUD_PROVIDER}"
|
||||
cloud_config_arg+=" --cloud-config=${CLOUD_CONFIG}"
|
||||
cloud_config_arg+=" --provider-id=$(hostname)"
|
||||
fi
|
||||
|
||||
CTLRMGR_LOG=${LOG_DIR}/kube-controller-manager.log
|
||||
|
Reference in New Issue
Block a user