Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 436 for pdName (0.22 sec)

  1. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		}
    		podInformer.GetIndexer().Add(newPod)
    	}
    	if tc.pvName != "" {
    		var newPv *v1.PersistentVolume
    		if tc.csiMigration {
    			// NewPV returns a GCEPersistentDisk volume, which is migrated.
    			newPv = controllervolumetesting.NewPV(tc.pvName, tc.volName)
    		} else {
    			// Otherwise use NFS, which is not subject to migration.
    			newPv = controllervolumetesting.NewNFSPV(tc.pvName, tc.volName)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/zz_generated.conversion.go

    }
    
    func autoConvert_v1_GCEPersistentDiskVolumeSource_To_core_GCEPersistentDiskVolumeSource(in *v1.GCEPersistentDiskVolumeSource, out *core.GCEPersistentDiskVolumeSource, s conversion.Scope) error {
    	out.PDName = in.PDName
    	out.FSType = in.FSType
    	out.Partition = in.Partition
    	out.ReadOnly = in.ReadOnly
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/types.go

    // PDs support ownership management and SELinux relabeling.
    type GCEPersistentDiskVolumeSource struct {
    	// pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
    	// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
    	PDName string `json:"pdName" protobuf:"bytes,1,opt,name=pdName"`
    	// fsType is filesystem type of the volume that you want to mount.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/storage/eviction.go

    		// we cannot ignored the PDB for this pod, so this is the fall through case.
    	}
    
    	var rtStatus *metav1.Status
    	var pdbName string
    	updateDeletionOptions := false
    
    	err = func() error {
    		pdbs, err := r.getPodDisruptionBudgets(ctx, pod)
    		if err != nil {
    			return err
    		}
    
    		if len(pdbs) > 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. pkg/apis/core/validation/validation_test.go

    			t.Errorf("%q expected error", tc.Name)
    		}
    	}
    }
    
    // helper creates a pod with name, namespace and IPs
    func makePod(podName string, podNamespace string, podIPs []core.PodIP) core.Pod {
    	return core.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: podNamespace},
    		Spec: core.PodSpec{
    			Containers: []core.Container{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "format": "int32",
              "type": "integer"
            },
            "pdName": {
              "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
              "type": "string"
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	logger := klog.FromContext(ctx)
    	podName := getPodName(pod)
    	if bindings == nil {
    		return fmt.Errorf("failed to get cached bindings for pod %q", podName)
    	}
    	if claimsToProvision == nil {
    		return fmt.Errorf("failed to get cached claims to provision for pod %q", podName)
    	}
    
    	lastProcessedBinding := 0
    	lastProcessedProvisioning := 0
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    		"volumeName %q mounted to %q needs to resize file system",
    		err.volumeName, err.podName)
    }
    
    func newFsResizeRequiredError(
    	volumeName v1.UniqueVolumeName, podName volumetypes.UniquePodName, currentSize resource.Quantity) error {
    	return FsResizeRequiredError{
    		CurrentSize: currentSize,
    		volumeName:  volumeName,
    		podName:     podName,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    	reconstructedVolumeNames := []v1.UniqueVolumeName{}
    	for _, volume := range podVolumes {
    		if rc.actualStateOfWorld.VolumeExistsWithSpecName(volume.podName, volume.volumeSpecName) {
    			klog.V(4).InfoS("Volume exists in actual state, skip cleaning up mounts", "podName", volume.podName, "volumeSpecName", volume.volumeSpecName)
    			// There is nothing to reconstruct
    			continue
    		}
    		reconstructedVolume, err := rc.reconstructVolume(volume)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/legacy_test.go

    	containerID := randStringBytes(80)
    	containerName := randStringBytes(70)
    	podName := randStringBytes(128)
    	podNamespace := randStringBytes(10)
    	// The file name cannot exceed 255 characters. Since .log suffix is required, the prefix cannot exceed 251 characters.
    	expectedPath := filepath.Join(legacyContainerLogsDir, fmt.Sprintf("%s_%s_%s-%s", podName, podNamespace, containerName, containerID)[:251]+".log")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 12:34:58 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top