mirror of https://github.com/kubernetes/kops.git
Fix scaling of metrics-server deployment in e2e scenario
This commit is contained in:
parent
be493f1788
commit
a80855ce3c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue