Fix scaling of metrics-server deployment in e2e scenario

This commit is contained in:
Peter Rifel 2021-08-17 06:51:12 -05:00
parent be493f1788
commit a80855ce3c
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
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