Merge pull request #12168 from rifelpet/metrics-server-unbound

Fix scaling of metrics-server deployment in e2e scenario
This commit is contained in:
Kubernetes Prow Robot 2021-08-17 05:35:13 -07:00 committed by GitHub
commit 0bbdbb04ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ git clone --branch v0.4.4 https://github.com/kubernetes-sigs/metrics-server.git
# The prometheus test expects to have only one metrics-server pod, but we use two
# We scale down to meet test expectation
kubectl scale -n kube-system deploy --replicas=1
kubectl scale -n kube-system --replicas=1 deployment/metrics-server
# shellcheck disable=SC2164
go test -v ./test/e2e_test.go -count=1
go test -v ./test/e2e_test.go -count=1