mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Fix shellcheck lint errors in cluster/kubemark/gce/config-default.sh
This commit is contained in:
parent
b538f18c0e
commit
ce4c85e3fd
@ -19,6 +19,8 @@
|
||||
# gce/util.sh script which assumes config filename), but if some things that
|
||||
# are enabled by default should not run in hollow clusters, they should be disabled here.
|
||||
|
||||
# shellcheck disable=SC2034 # Variables sourced in other scripts.
|
||||
|
||||
source "${KUBE_ROOT}/cluster/gce/config-common.sh"
|
||||
|
||||
GCLOUD=gcloud
|
||||
@ -115,7 +117,7 @@ ENABLE_KUBEMARK_CLUSTER_AUTOSCALER="${ENABLE_KUBEMARK_CLUSTER_AUTOSCALER:-false}
|
||||
# (e.g. kubemark master, Heapster) enough resources to handle maximum cluster size.
|
||||
if [[ "${ENABLE_KUBEMARK_CLUSTER_AUTOSCALER}" == "true" ]]; then
|
||||
NUM_REPLICAS=1
|
||||
if [[ ! -z "$NUM_NODES" ]]; then
|
||||
if [[ -n "$NUM_NODES" ]]; then
|
||||
echo "WARNING: Using Cluster Autoscaler, ignoring NUM_NODES parameter. Set KUBEMARK_AUTOSCALER_MAX_NODES to specify maximum size of the cluster."
|
||||
fi
|
||||
fi
|
||||
|
@ -19,7 +19,6 @@
|
||||
./cluster/gce/upgrade.sh
|
||||
./cluster/gce/util.sh
|
||||
./cluster/images/conformance/run_e2e.sh
|
||||
./cluster/kubemark/gce/config-default.sh
|
||||
./cluster/kubemark/iks/config-default.sh
|
||||
./cluster/kubemark/util.sh
|
||||
./cluster/log-dump/log-dump.sh
|
||||
|
Loading…
Reference in New Issue
Block a user