remove deprecated option '--enable-custom-metrics'

This commit is contained in:
Cao Shufeng
2018-06-05 10:18:58 +08:00
parent 84ec43c75b
commit d767ce24a9
2 changed files with 7 additions and 17 deletions

View File

@@ -660,9 +660,6 @@ function construct-kubelet-flags {
flags+=" --non-masquerade-cidr=${NON_MASQUERADE_CIDR}"
fi
flags+=" --volume-plugin-dir=${VOLUME_PLUGIN_DIR}"
if [[ -n "${ENABLE_CUSTOM_METRICS:-}" ]]; then
flags+=" --enable-custom-metrics=${ENABLE_CUSTOM_METRICS}"
fi
local node_labels=$(build-node-labels ${master})
if [[ -n "${node_labels:-}" ]]; then
flags+=" --node-labels=${node_labels}"