Merge pull request #80150 from ii/promote-statefulset-replica-scaling

Promote StatefulSet Replica scaling
This commit is contained in:
Kubernetes Prow Robot 2019-07-25 16:02:07 -07:00 committed by GitHub
commit 2321d1e9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -37,6 +37,7 @@ test/e2e/apps/statefulset.go: "should perform canary updates and phased rolling
test/e2e/apps/statefulset.go: "Scaling should happen in predictable order and halt if any stateful pod is unhealthy"
test/e2e/apps/statefulset.go: "Burst scaling should run to completion even with unhealthy pods"
test/e2e/apps/statefulset.go: "Should recreate evicted statefulset"
test/e2e/apps/statefulset.go: "should have a working scale subresource"
test/e2e/auth/service_accounts.go: "should mount an API token into pods"
test/e2e/auth/service_accounts.go: "should allow opting out of API token automount"
test/e2e/common/configmap.go: "should be consumable via environment variable"

View File

@ -761,7 +761,14 @@ var _ = SIGDescribe("StatefulSet", func() {
}, e2esset.StatefulPodTimeout, 2*time.Second).Should(gomega.BeNil())
})
ginkgo.It("should have a working scale subresource", func() {
/*
Release : v1.16
Testname: StatefulSet resource Replica scaling
Description: Create a StatefulSet resource.
Newly created StatefulSet resource MUST have a scale of one.
Bring the scale of the StatefulSet resource up to two. StatefulSet scale MUST be at two replicas.
*/
framework.ConformanceIt("should have a working scale subresource", func() {
ginkgo.By("Creating statefulset " + ssName + " in namespace " + ns)
ss := e2esset.NewStatefulSet(ssName, ns, headlessSvcName, 1, nil, nil, labels)
e2esset.SetHTTPProbe(ss)