mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Remove volume tags.
This commit is contained in:
parent
d4dc49ba90
commit
678ca905d6
@ -73,7 +73,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
mathrand.Seed(time.Now().UTC().UnixNano())
|
mathrand.Seed(time.Now().UTC().UnixNano())
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should schedule a pod w/ a RW PD, ungracefully remove it, then schedule it on another host [Slow] [Volume]", func() {
|
It("should schedule a pod w/ a RW PD, ungracefully remove it, then schedule it on another host [Slow]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce", "gke", "aws")
|
framework.SkipUnlessProviderIs("gce", "gke", "aws")
|
||||||
|
|
||||||
By("creating PD")
|
By("creating PD")
|
||||||
@ -133,7 +133,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
return
|
return
|
||||||
})
|
})
|
||||||
|
|
||||||
It("Should schedule a pod w/ a RW PD, gracefully remove it, then schedule it on another host [Slow] [Volume]", func() {
|
It("Should schedule a pod w/ a RW PD, gracefully remove it, then schedule it on another host [Slow]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce", "gke", "aws")
|
framework.SkipUnlessProviderIs("gce", "gke", "aws")
|
||||||
|
|
||||||
By("creating PD")
|
By("creating PD")
|
||||||
@ -193,7 +193,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
return
|
return
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should schedule a pod w/ a readonly PD on two hosts, then remove both ungracefully. [Slow] [Volume]", func() {
|
It("should schedule a pod w/ a readonly PD on two hosts, then remove both ungracefully. [Slow]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce", "gke")
|
framework.SkipUnlessProviderIs("gce", "gke")
|
||||||
|
|
||||||
By("creating PD")
|
By("creating PD")
|
||||||
@ -245,7 +245,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
waitForPDDetach(diskName, host1Name)
|
waitForPDDetach(diskName, host1Name)
|
||||||
})
|
})
|
||||||
|
|
||||||
It("Should schedule a pod w/ a readonly PD on two hosts, then remove both gracefully. [Slow] [Volume]", func() {
|
It("Should schedule a pod w/ a readonly PD on two hosts, then remove both gracefully. [Slow]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce", "gke")
|
framework.SkipUnlessProviderIs("gce", "gke")
|
||||||
|
|
||||||
By("creating PD")
|
By("creating PD")
|
||||||
@ -297,7 +297,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
waitForPDDetach(diskName, host1Name)
|
waitForPDDetach(diskName, host1Name)
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should schedule a pod w/ a RW PD shared between multiple containers, write to PD, delete pod, verify contents, and repeat in rapid succession [Slow] [Volume]", func() {
|
It("should schedule a pod w/ a RW PD shared between multiple containers, write to PD, delete pod, verify contents, and repeat in rapid succession [Slow]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce", "gke", "aws")
|
framework.SkipUnlessProviderIs("gce", "gke", "aws")
|
||||||
|
|
||||||
By("creating PD")
|
By("creating PD")
|
||||||
@ -350,7 +350,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
waitForPDDetach(diskName, host0Name)
|
waitForPDDetach(diskName, host0Name)
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should schedule a pod w/two RW PDs both mounted to one container, write to PD, verify contents, delete pod, recreate pod, verify contents, and repeat in rapid succession [Slow] [Volume]", func() {
|
It("should schedule a pod w/two RW PDs both mounted to one container, write to PD, verify contents, delete pod, recreate pod, verify contents, and repeat in rapid succession [Slow]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce", "gke", "aws")
|
framework.SkipUnlessProviderIs("gce", "gke", "aws")
|
||||||
|
|
||||||
By("creating PD1")
|
By("creating PD1")
|
||||||
@ -410,7 +410,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
waitForPDDetach(disk2Name, host0Name)
|
waitForPDDetach(disk2Name, host0Name)
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should be able to detach from a node which was deleted [Slow] [Disruptive] [Volume]", func() {
|
It("should be able to detach from a node which was deleted [Slow] [Disruptive]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce")
|
framework.SkipUnlessProviderIs("gce")
|
||||||
|
|
||||||
initialGroupSize, err := framework.GroupSize(framework.TestContext.CloudConfig.NodeInstanceGroup)
|
initialGroupSize, err := framework.GroupSize(framework.TestContext.CloudConfig.NodeInstanceGroup)
|
||||||
@ -469,7 +469,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
return
|
return
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should be able to detach from a node whose api object was deleted [Slow] [Disruptive] [Volume]", func() {
|
It("should be able to detach from a node whose api object was deleted [Slow] [Disruptive]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce")
|
framework.SkipUnlessProviderIs("gce")
|
||||||
initialGroupSize, err := framework.GroupSize(framework.TestContext.CloudConfig.NodeInstanceGroup)
|
initialGroupSize, err := framework.GroupSize(framework.TestContext.CloudConfig.NodeInstanceGroup)
|
||||||
framework.ExpectNoError(err, "Error getting group size")
|
framework.ExpectNoError(err, "Error getting group size")
|
||||||
|
@ -46,7 +46,7 @@ const (
|
|||||||
kRestart kubeletOpt = "restart"
|
kRestart kubeletOpt = "restart"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = SIGDescribe("PersistentVolumes [Volume][Disruptive][Flaky]", func() {
|
var _ = SIGDescribe("PersistentVolumes[Disruptive][Flaky]", func() {
|
||||||
|
|
||||||
f := framework.NewDefaultFramework("disruptive-pv")
|
f := framework.NewDefaultFramework("disruptive-pv")
|
||||||
var (
|
var (
|
||||||
|
@ -51,7 +51,7 @@ func initializeGCETestSpec(c clientset.Interface, ns string, pvConfig framework.
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Testing configurations of single a PV/PVC pair attached to a GCE PD
|
// Testing configurations of single a PV/PVC pair attached to a GCE PD
|
||||||
var _ = SIGDescribe("PersistentVolumes:GCEPD [Volume]", func() {
|
var _ = SIGDescribe("PersistentVolumes:GCEPD", func() {
|
||||||
var (
|
var (
|
||||||
c clientset.Interface
|
c clientset.Interface
|
||||||
diskName string
|
diskName string
|
||||||
|
@ -287,7 +287,7 @@ var _ = SIGDescribe("PersistentVolumes", func() {
|
|||||||
// This It() tests a scenario where a PV is written to by a Pod, recycled, then the volume checked
|
// This It() tests a scenario where a PV is written to by a Pod, recycled, then the volume checked
|
||||||
// for files. If files are found, the checking Pod fails, failing the test. Otherwise, the pod
|
// for files. If files are found, the checking Pod fails, failing the test. Otherwise, the pod
|
||||||
// (and test) succeed.
|
// (and test) succeed.
|
||||||
It("should test that a PV becomes Available and is clean after the PVC is deleted. [Volume]", func() {
|
It("should test that a PV becomes Available and is clean after the PVC is deleted.", func() {
|
||||||
By("Writing to the volume.")
|
By("Writing to the volume.")
|
||||||
pod := framework.MakeWritePod(ns, pvc)
|
pod := framework.MakeWritePod(ns, pvc)
|
||||||
pod, err = c.CoreV1().Pods(ns).Create(pod)
|
pod, err = c.CoreV1().Pods(ns).Create(pod)
|
||||||
|
@ -224,7 +224,7 @@ var _ = SIGDescribe("Dynamic Provisioning", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
SIGDescribe("DynamicProvisioner", func() {
|
SIGDescribe("DynamicProvisioner", func() {
|
||||||
It("should provision storage with different parameters [Slow] [Volume]", func() {
|
It("should provision storage with different parameters [Slow]", func() {
|
||||||
cloudZone := getRandomCloudZone(c)
|
cloudZone := getRandomCloudZone(c)
|
||||||
|
|
||||||
// This test checks that dynamic provisioning can provision a volume
|
// This test checks that dynamic provisioning can provision a volume
|
||||||
@ -409,7 +409,7 @@ var _ = SIGDescribe("Dynamic Provisioning", func() {
|
|||||||
|
|
||||||
// NOTE: Slow! The test will wait up to 5 minutes (framework.ClaimProvisionTimeout)
|
// NOTE: Slow! The test will wait up to 5 minutes (framework.ClaimProvisionTimeout)
|
||||||
// when there is no regression.
|
// when there is no regression.
|
||||||
It("should not provision a volume in an unmanaged GCE zone. [Slow] [Volume]", func() {
|
It("should not provision a volume in an unmanaged GCE zone. [Slow]", func() {
|
||||||
framework.SkipUnlessProviderIs("gce", "gke")
|
framework.SkipUnlessProviderIs("gce", "gke")
|
||||||
var suffix string = "unmananged"
|
var suffix string = "unmananged"
|
||||||
|
|
||||||
@ -467,7 +467,7 @@ var _ = SIGDescribe("Dynamic Provisioning", func() {
|
|||||||
framework.Logf(err.Error())
|
framework.Logf(err.Error())
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should test that deleting a claim before the volume is provisioned deletes the volume. [Volume]", func() {
|
It("should test that deleting a claim before the volume is provisioned deletes the volume.", func() {
|
||||||
// This case tests for the regressions of a bug fixed by PR #21268
|
// This case tests for the regressions of a bug fixed by PR #21268
|
||||||
// REGRESSION: Deleting the PVC before the PV is provisioned can result in the PV
|
// REGRESSION: Deleting the PVC before the PV is provisioned can result in the PV
|
||||||
// not being deleted.
|
// not being deleted.
|
||||||
@ -518,7 +518,7 @@ var _ = SIGDescribe("Dynamic Provisioning", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
SIGDescribe("DynamicProvisioner External", func() {
|
SIGDescribe("DynamicProvisioner External", func() {
|
||||||
It("should let an external dynamic provisioner create and delete persistent volumes [Slow] [Volume]", func() {
|
It("should let an external dynamic provisioner create and delete persistent volumes [Slow]", func() {
|
||||||
// external dynamic provisioner pods need additional permissions provided by the
|
// external dynamic provisioner pods need additional permissions provided by the
|
||||||
// persistent-volume-provisioner role
|
// persistent-volume-provisioner role
|
||||||
framework.BindClusterRole(c.Rbac(), "system:persistent-volume-provisioner", ns,
|
framework.BindClusterRole(c.Rbac(), "system:persistent-volume-provisioner", ns,
|
||||||
@ -556,7 +556,7 @@ var _ = SIGDescribe("Dynamic Provisioning", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
SIGDescribe("DynamicProvisioner Default", func() {
|
SIGDescribe("DynamicProvisioner Default", func() {
|
||||||
It("should create and delete default persistent volumes [Slow] [Volume]", func() {
|
It("should create and delete default persistent volumes [Slow]", func() {
|
||||||
framework.SkipUnlessProviderIs("openstack", "gce", "aws", "gke", "vsphere", "azure")
|
framework.SkipUnlessProviderIs("openstack", "gce", "aws", "gke", "vsphere", "azure")
|
||||||
|
|
||||||
By("creating a claim with no annotation")
|
By("creating a claim with no annotation")
|
||||||
@ -570,7 +570,7 @@ var _ = SIGDescribe("Dynamic Provisioning", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Modifying the default storage class can be disruptive to other tests that depend on it
|
// Modifying the default storage class can be disruptive to other tests that depend on it
|
||||||
It("should be disabled by changing the default annotation[Slow] [Serial] [Disruptive] [Volume]", func() {
|
It("should be disabled by changing the default annotation[Slow] [Serial] [Disruptive]", func() {
|
||||||
framework.SkipUnlessProviderIs("openstack", "gce", "aws", "gke", "vsphere", "azure")
|
framework.SkipUnlessProviderIs("openstack", "gce", "aws", "gke", "vsphere", "azure")
|
||||||
scName := getDefaultStorageClassName(c)
|
scName := getDefaultStorageClassName(c)
|
||||||
test := storageClassTest{
|
test := storageClassTest{
|
||||||
@ -601,7 +601,7 @@ var _ = SIGDescribe("Dynamic Provisioning", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Modifying the default storage class can be disruptive to other tests that depend on it
|
// Modifying the default storage class can be disruptive to other tests that depend on it
|
||||||
It("should be disabled by removing the default annotation[Slow] [Serial] [Disruptive] [Volume]", func() {
|
It("should be disabled by removing the default annotation[Slow] [Serial] [Disruptive]", func() {
|
||||||
framework.SkipUnlessProviderIs("openstack", "gce", "aws", "gke", "vsphere", "azure")
|
framework.SkipUnlessProviderIs("openstack", "gce", "aws", "gke", "vsphere", "azure")
|
||||||
scName := getDefaultStorageClassName(c)
|
scName := getDefaultStorageClassName(c)
|
||||||
test := storageClassTest{
|
test := storageClassTest{
|
||||||
|
@ -79,7 +79,7 @@ func DeleteCinderVolume(name string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// These tests need privileged containers, which are disabled by default.
|
// These tests need privileged containers, which are disabled by default.
|
||||||
var _ = SIGDescribe("Volumes [Volume]", func() {
|
var _ = SIGDescribe("Volumes", func() {
|
||||||
f := framework.NewDefaultFramework("volume")
|
f := framework.NewDefaultFramework("volume")
|
||||||
|
|
||||||
// If 'false', the test won't clear its volumes upon completion. Useful for debugging,
|
// If 'false', the test won't clear its volumes upon completion. Useful for debugging,
|
||||||
|
@ -45,7 +45,7 @@ import (
|
|||||||
9. Delete PVC, PV and Storage Class.
|
9. Delete PVC, PV and Storage Class.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var _ = SIGDescribe("vsphere Volume fstype [Volume]", func() {
|
var _ = SIGDescribe("vsphere Volume fstype", func() {
|
||||||
f := framework.NewDefaultFramework("volume-fstype")
|
f := framework.NewDefaultFramework("volume-fstype")
|
||||||
var (
|
var (
|
||||||
client clientset.Interface
|
client clientset.Interface
|
||||||
|
@ -47,7 +47,7 @@ import (
|
|||||||
10. Delete storage class.
|
10. Delete storage class.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var _ = SIGDescribe("vsphere volume operations storm [Volume]", func() {
|
var _ = SIGDescribe("vsphere volume operations storm", func() {
|
||||||
f := framework.NewDefaultFramework("volume-ops-storm")
|
f := framework.NewDefaultFramework("volume-ops-storm")
|
||||||
const DEFAULT_VOLUME_OPS_SCALE = 30
|
const DEFAULT_VOLUME_OPS_SCALE = 30
|
||||||
var (
|
var (
|
||||||
|
@ -32,7 +32,7 @@ import (
|
|||||||
"k8s.io/kubernetes/test/e2e/framework"
|
"k8s.io/kubernetes/test/e2e/framework"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = SIGDescribe("Volume Placement [Volume]", func() {
|
var _ = SIGDescribe("Volume Placement", func() {
|
||||||
f := framework.NewDefaultFramework("volume-placement")
|
f := framework.NewDefaultFramework("volume-placement")
|
||||||
var (
|
var (
|
||||||
c clientset.Interface
|
c clientset.Interface
|
||||||
|
@ -83,7 +83,7 @@ const (
|
|||||||
8. Delete PVC, PV and Storage Class
|
8. Delete PVC, PV and Storage Class
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var _ = SIGDescribe("vSphere Storage policy support for dynamic provisioning [Volume]", func() {
|
var _ = SIGDescribe("vSphere Storage policy support for dynamic provisioning", func() {
|
||||||
f := framework.NewDefaultFramework("volume-vsan-policy")
|
f := framework.NewDefaultFramework("volume-vsan-policy")
|
||||||
var (
|
var (
|
||||||
client clientset.Interface
|
client clientset.Interface
|
||||||
|
Loading…
Reference in New Issue
Block a user