Skip to content

Commit

Permalink
CASMSEC-412: turn off profiling for k8s apiserver (#5333)
Browse files Browse the repository at this point in the history
  • Loading branch information
bo-quan authored Aug 30, 2024
1 parent f876176 commit 4c6b5b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions upgrade/scripts/upgrade/prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,7 @@ if [[ ${state_recorded} == "0" ]]; then
| yq4 e '.kubernetesVersion="1.24.17"' \
| yq4 e '.dns.imageRepository="artifactory.algol60.net/csm-docker/stable/registry.k8s.io/coredns"' \
| yq4 e '.imageRepository="artifactory.algol60.net/csm-docker/stable/registry.k8s.io"' \
| yq4 e '.apiServer.extraArgs.profiling="false"' \
| yq4 e '.controllerManager.extraArgs.terminated-pod-gc-threshold="250"' \
| yq4 e '.controllerManager.extraArgs.profiling="false"' \
> "${tmpdir}/kubeadm-config.yaml"
Expand Down

0 comments on commit 4c6b5b4

Please sign in to comment.