Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for claimrefns (0.17 sec)

  1. pkg/controller/statefulset/stateful_set_utils_test.go

    					}
    					set.Spec.Replicas = &tc.replicas
    					claimRefs := claim.GetOwnerReferences()
    					if setPodRef {
    						claimRefs = addControllerRef(claimRefs, &pod, podKind)
    					}
    					if setSetRef {
    						claimRefs = addControllerRef(claimRefs, &set, controllerKind)
    					}
    					if useOtherRefs {
    						claimRefs = append(
    							claimRefs,
    							metav1.OwnerReference{
    								Name:       "rand1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller.go

    				if claim.UID != volume.Spec.ClaimRef.UID {
    					logger.V(4).Info("Synchronizing PersistentVolume, claim has a newer UID than pv.ClaimRef, the old one must have been deleted", "PVC", klog.KRef(volume.Spec.ClaimRef.Namespace, volume.Spec.ClaimRef.Name), "volumeName", volume.Name)
    					claim = nil
    				} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	// create dswp
    	mode := v1.PersistentVolumeFilesystem
    	pv := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "dswp-test-volume-name",
    		},
    		Spec: v1.PersistentVolumeSpec{
    			ClaimRef:   &v1.ObjectReference{Namespace: "ns", Name: "file-bound"},
    			VolumeMode: &mode,
    		},
    	}
    	pvc := &v1.PersistentVolumeClaim{
    		Spec: v1.PersistentVolumeClaimSpec{
    			VolumeName: "dswp-test-volume-name",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    			continue
    		}
    		if pv.Spec.ClaimRef == nil {
    			t.Errorf("PV %q ClaimRef is nil", b.pv.Name)
    			continue
    		}
    		if pv.Spec.ClaimRef.Name != b.pvc.Name {
    			t.Errorf("expected PV.ClaimRef.Name %q, got %q", b.pvc.Name, pv.Spec.ClaimRef.Name)
    		}
    		if pv.Spec.ClaimRef.Namespace != b.pvc.Namespace {
    			t.Errorf("expected PV.ClaimRef.Namespace %q, got %q", b.pvc.Namespace, pv.Spec.ClaimRef.Namespace)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    			AccessModes: []v1.PersistentVolumeAccessMode{
    				v1.ReadWriteOnce,
    				v1.ReadOnlyMany,
    			},
    			VolumeMode: &mode,
    			ClaimRef:   &v1.ObjectReference{Namespace: "ns", Name: "pvc-volume-name"},
    		},
    	}
    
    	gcepvc := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{UID: "pvc-001", Name: "pvc-volume-name", Namespace: "ns"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/binder_test.go

    			expectedEvents:  []string{"Normal FailedBinding"},
    			errors:          noerrors,
    			test:            testSyncClaim,
    		},
    		{
    			// syncClaim completes binding - simulates controller crash after
    			// PV.ClaimRef is saved
    			name:            "1-8 - complete bind after crash - PV bound",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
Back to top