Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 414 for volumeID (0.13 sec)

  1. pkg/controller/volume/persistentvolume/index.go

    			AccessModes: modes,
    		},
    	}
    
    	objs, err := pvIndex.store.Index("accessmodes", pv)
    	if err != nil {
    		return nil, err
    	}
    
    	volumes := make([]*v1.PersistentVolume, len(objs))
    	for i, obj := range objs {
    		volumes[i] = obj.(*v1.PersistentVolume)
    	}
    
    	return volumes, nil
    }
    
    // find returns the nearest PV from the ordered list or nil if a match is not found
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  2. cluster/addons/volumesnapshots/volume-snapshot-controller/rbac-volume-snapshot-controller.yaml

    # RBAC file for the volume snapshot controller.
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: volume-snapshot-controller
      namespace: kube-system
      labels:
        kubernetes.io/cluster-service: "true"
        addonmanager.kubernetes.io/mode: Reconcile
    ---
    kind: ClusterRole
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
      # rename if there are conflicts
      name: volume-snapshot-controller-runner
      namespace: kube-system
      labels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 14:09:47 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  3. pkg/volume/util/attach_limit.go

    	AzureVolumeLimitKey = "attachable-volumes-azure-disk"
    	// GCEVolumeLimitKey stores resource name that will store volume limits for GCE node
    	GCEVolumeLimitKey = "attachable-volumes-gce-pd"
    
    	// CinderVolumeLimitKey contains Volume limit key for Cinder
    	CinderVolumeLimitKey = "attachable-volumes-cinder"
    	// DefaultMaxCinderVolumes defines the maximum number of PD Volumes for Cinder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 17:25:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_volumes_linux_test.go

    				podDir := kubelet.getPodDir("pod1uid")
    				return os.MkdirAll(filepath.Join(podDir, "volumes/plugin/name"), 0750)
    			},
    			validateFunc: func(kubelet *Kubelet) error {
    				podDir := kubelet.getPodDir("pod1uid")
    				return validateDirExists(filepath.Join(podDir, "volumes/plugin/name"))
    			},
    		},
    		"pod-doesnot-exist-with-volume": {
    			prepareFunc: func(kubelet *Kubelet) error {
    				podDir := kubelet.getPodDir("pod1uid")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  5. pkg/kubelet/server/stats/volume_stat_calculator.go

    			return v.GetMetrics()
    		}()
    		if err != nil {
    			// Expected for Volumes that don't support Metrics
    			if !volume.IsNotSupported(err) {
    				klog.V(4).InfoS("Failed to calculate volume metrics", "pod", klog.KObj(s.pod), "podUID", s.pod.UID, "volumeName", name, "err", err)
    			}
    			continue
    		}
    		// Lookup the volume spec and add a 'PVCReference' for volumes that reference a PVC
    		volSpec := volumesSpec[name]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 29 00:55:10 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    		return "", ErrorWatchTimeout
    	}
    }
    
    // Fake volume/metrics provider
    var _ volume.Volume = &fakeVolume{}
    
    type fakeVolume struct{}
    
    func (v *fakeVolume) GetPath() string { return "" }
    
    func (v *fakeVolume) GetMetrics() (*volume.Metrics, error) {
    	return expectedMetrics(), nil
    }
    
    func expectedMetrics() *volume.Metrics {
    	vMetrics := &volume.Metrics{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumebinding/test_utils.go

    }
    
    func (pb podBuilder) withEmptyDirVolume() podBuilder {
    	pb.Pod.Spec.Volumes = append(pb.Pod.Spec.Volumes, v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			EmptyDir: &v1.EmptyDirVolumeSource{},
    		},
    	})
    	return pb
    }
    
    func (pb podBuilder) withGenericEphemeralVolume(name string) podBuilder {
    	pb.Pod.Spec.Volumes = append(pb.Pod.Spec.Volumes, v1.Volume{
    		Name: name,
    		VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/reconciler/reconciler.go

    	// resizing.
    	rc.mountOrAttachVolumes()
    
    	// Unmount volumes only when DSW and ASW are fully populated to prevent unmounting a volume
    	// that is still needed, but it did not reach DSW yet.
    	if readyToUnmount {
    		// Ensure devices that should be detached/unmounted are detached/unmounted.
    		rc.unmountDetachDevices()
    
    		// Clean up any orphan volumes that failed reconstruction.
    		rc.cleanOrphanVolumes()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. tests/integration/iop-externalistiod-primary-integration-test-defaults.yaml

            - kind: Deployment
              name: istiod
              patches:
              - path: spec.template.spec.volumes[100]
                value: |-
                  name: config-volume
                  configMap:
                    name: istio
              - path: spec.template.spec.volumes[100]
                value: |-
                  name: inject-volume
                  configMap:
                    name: istio-sidecar-injector
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 05 22:06:57 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/metrics/metrics_test.go

    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume-name",
    					VolumeSource: v1.VolumeSource{
    						GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    							PDName: "fake-device1",
    						},
    					},
    				},
    			},
    		},
    	}
    	volumeSpec := &volume.Spec{Volume: &pod.Spec.Volumes[0]}
    	podName := util.GetUniquePodName(pod)
    
    	// Add one volume to DesiredStateOfWorld
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top