mirror of https://github.com/k3s-io/k3s
commit
54a578d3a1
|
@ -3444,7 +3444,7 @@ func TestInterPodAffinityWithMultipleNodes(t *testing.T) {
|
|||
"nodeA": true,
|
||||
"nodeB": true,
|
||||
},
|
||||
name: "Test incoming pod's anti-affinity: even if lableSelector matches, we still check if topologyKey matches",
|
||||
name: "Test incoming pod's anti-affinity: even if labelSelector matches, we still check if topologyKey matches",
|
||||
},
|
||||
{
|
||||
pod: &v1.Pod{
|
||||
|
|
|
@ -220,7 +220,7 @@ func TestNodesHaveSameTopologyKey(t *testing.T) {
|
|||
topologyKey: "",
|
||||
},
|
||||
{
|
||||
name: "nodeA lable nil vs. nodeB{'a':''} by key('a')",
|
||||
name: "nodeA label nil vs. nodeB{'a':''} by key('a')",
|
||||
nodeA: &v1.Node{
|
||||
ObjectMeta: metav1.ObjectMeta{},
|
||||
},
|
||||
|
|
|
@ -34,7 +34,7 @@ import (
|
|||
Test Steps
|
||||
----------
|
||||
1. Create VMDK.
|
||||
2. Create pv with lable volume-type:ssd, volume path set to vmdk created in previous step, and PersistentVolumeReclaimPolicy is set to Delete.
|
||||
2. Create pv with label volume-type:ssd, volume path set to vmdk created in previous step, and PersistentVolumeReclaimPolicy is set to Delete.
|
||||
3. Create PVC (pvc_vvol) with label selector to match with volume-type:vvol
|
||||
4. Create PVC (pvc_ssd) with label selector to match with volume-type:ssd
|
||||
5. Wait and verify pvc_ssd is bound with PV.
|
||||
|
@ -112,7 +112,7 @@ func testSetupVSpherePVClabelselector(c clientset.Interface, nodeInfo *NodeInfo,
|
|||
return
|
||||
}
|
||||
|
||||
By("creating the pv with lable volume-type:ssd")
|
||||
By("creating the pv with label volume-type:ssd")
|
||||
pv_ssd = getVSpherePersistentVolumeSpec(volumePath, v1.PersistentVolumeReclaimDelete, ssdlabels)
|
||||
pv_ssd, err = c.CoreV1().PersistentVolumes().Create(pv_ssd)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue