Merge pull request #108457 from ialidzhikov/cleanup/target-ram-mb

apiserver: Remove the deprecated `--target-ram-mb` flag
This commit is contained in:
Kubernetes Prow Robot
2022-03-07 02:38:53 -08:00
committed by GitHub
3 changed files with 0 additions and 10 deletions

View File

@@ -132,10 +132,6 @@ function start-kube-apiserver {
params=$(append-param-if-not-present "${params}" "max-requests-inflight" 1500)
params=$(append-param-if-not-present "${params}" "max-mutating-requests-inflight" 500)
fi
# Set amount of memory available for apiserver based on number of nodes.
# TODO: Once we start setting proper requests and limits for apiserver
# we should reuse the same logic here instead of current heuristic.
params=$(append-param-if-not-present "${params}" "target-ram-mb" $((NUM_NODES * 60)))
fi
if [[ -n "${SERVICE_CLUSTER_IP_RANGE:-}" ]]; then
params+=" --service-cluster-ip-range=${SERVICE_CLUSTER_IP_RANGE}"