mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #84740 from mortent/PromotePDBConformance
Promote PodDisruptionBudget e2e test to Conformance
This commit is contained in:
commit
21d5787b40
7
test/conformance/testdata/conformance.yaml
vendored
7
test/conformance/testdata/conformance.yaml
vendored
@ -698,6 +698,13 @@
|
|||||||
MUST succeed. It MUST succeed when deleting the Deployment.
|
MUST succeed. It MUST succeed when deleting the Deployment.
|
||||||
release: v1.20
|
release: v1.20
|
||||||
file: test/e2e/apps/deployment.go
|
file: test/e2e/apps/deployment.go
|
||||||
|
- testname: 'PodDisruptionBudget: Status updates'
|
||||||
|
codename: '[sig-apps] DisruptionController should observe PodDisruptionBudget status
|
||||||
|
updated [Conformance]'
|
||||||
|
description: Disruption controller MUST update the PDB status with how many disruptions
|
||||||
|
are allowed.
|
||||||
|
release: v1.21
|
||||||
|
file: test/e2e/apps/disruption.go
|
||||||
- testname: Jobs, orphan pods, re-adoption
|
- testname: Jobs, orphan pods, re-adoption
|
||||||
codename: '[sig-apps] Job should adopt matching orphans and release non-matching
|
codename: '[sig-apps] Job should adopt matching orphans and release non-matching
|
||||||
pods [Conformance]'
|
pods [Conformance]'
|
||||||
|
@ -95,7 +95,13 @@ var _ = SIGDescribe("DisruptionController", func() {
|
|||||||
createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromString("1%"), defaultLabels)
|
createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromString("1%"), defaultLabels)
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should observe PodDisruptionBudget status updated", func() {
|
/*
|
||||||
|
Release : v1.21
|
||||||
|
Testname: PodDisruptionBudget: Status updates
|
||||||
|
Description: Disruption controller MUST update the PDB status with
|
||||||
|
how many disruptions are allowed.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should observe PodDisruptionBudget status updated", func() {
|
||||||
createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromInt(1), defaultLabels)
|
createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromInt(1), defaultLabels)
|
||||||
|
|
||||||
createPodsOrDie(cs, ns, 3)
|
createPodsOrDie(cs, ns, 3)
|
||||||
|
Loading…
Reference in New Issue
Block a user