Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for vol7 (0.21 sec)

  1. cluster/gce/gci/configure-kubeapiserver.sh

    # Configuration of etcd level encryption consists of the following steps:
    # 1. Writing encryption provider config to disk
    # 2. Adding encryption-provider-config flag to kube-apiserver
    # 3. Add kms-socket-vol and kms-socket-vol-mnt to enable communication with kms-plugin (if requested)
    #
    # Expects parameters:
    # $1 - path to kube-apiserver template
    # $2 - kube-apiserver startup flags (must be passed by reference)
    #
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status_test.go

    			existingVolumes: []v1.UniqueVolumeName{"vol1"},
    			existingNode: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname, Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH}},
    				Status: v1.NodeStatus{
    					VolumesInUse: []v1.UniqueVolumeName{"vol1"},
    				},
    			},
    			expectedReportedInUse: []v1.UniqueVolumeName{"vol1"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  3. pkg/kubelet/eviction/eviction_manager_test.go

    	vol := newVolume("local-volume", v1.VolumeSource{
    		EmptyDir: &v1.EmptyDirVolumeSource{
    			SizeLimit: resource.NewQuantity(requests.Memory().Value(), resource.BinarySI),
    		},
    	})
    	var vols []v1.Volume
    	vols = append(vols, vol)
    	pod := newPod(name, priority, []v1.Container{
    		newContainer(name, requests, limits),
    	}, vols)
    
    	var podStats statsapi.PodStats
    	switch name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	"k8s.io/kubernetes/pkg/controller/volume/persistentvolume/metrics"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/util/goroutinemap"
    	"k8s.io/kubernetes/pkg/util/slice"
    	vol "k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    
    	"k8s.io/klog/v2"
    )
    
    // This file contains the controller base functionality, i.e. framework to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_plugin.go

    func (p *csiPlugin) constructVolSourceSpec(volSpecName, driverName string) *volume.Spec {
    	vol := &api.Volume{
    		Name: volSpecName,
    		VolumeSource: api.VolumeSource{
    			CSI: &api.CSIVolumeSource{
    				Driver: driverName,
    			},
    		},
    	}
    	return volume.NewSpecFromVolume(vol)
    }
    
    // constructPVSourceSpec constructs volume.Spec with CSIPersistentVolumeSource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  6. pkg/api/pod/util.go

    	}
    
    	return false
    }
    
    func hasUsedDownwardAPIFieldPathWithPodSpec(podSpec *api.PodSpec, fieldPath string) bool {
    	if podSpec == nil {
    		return false
    	}
    	for _, vol := range podSpec.Volumes {
    		if hasUsedDownwardAPIFieldPathWithVolume(&vol, fieldPath) {
    			return true
    		}
    	}
    	for _, c := range podSpec.InitContainers {
    		if hasUsedDownwardAPIFieldPathWithContainer(&c, fieldPath) {
    			return true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	}
    	defer done(0, &err)
    
    	return p.storage.ListVols(ctx)
    }
    
    func (p *xlStorageDiskIDCheck) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricStatVol, volume)
    	if err != nil {
    		return vol, err
    	}
    	defer done(0, &err)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. pkg/volume/plugins.go

    			Namespace:    metav1.NamespaceDefault,
    		},
    		Spec: v1.PodSpec{
    			ActiveDeadlineSeconds: &timeout,
    			RestartPolicy:         v1.RestartPolicyNever,
    			Volumes: []v1.Volume{
    				{
    					Name: "vol",
    					// IMPORTANT!  All plugins using this template MUST
    					// override pod.Spec.Volumes[0].VolumeSource Recycler
    					// implementations without a valid VolumeSource will fail.
    					VolumeSource: v1.VolumeSource{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    				}
    			}
    		}
    		// Act
    		logger, _ := ktesting.NewTestContext(t)
    		volumes := dsw.GetVolumesToAttach()
    		for _, vol := range volumes {
    			if vol.NodeName == "node1" {
    				rc.(*reconciler).reportMultiAttachError(logger, vol, nodes)
    			}
    		}
    
    		// Assert
    		close(fakeRecorder.Events)
    		index := 0
    		for event := range fakeRecorder.Events {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  10. src/os/os_windows_test.go

    	cmd := testenv.Command(t, "cmd", "/c", "mountvol", filepath.VolumeName(path), "/L")
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("%v: %v\n%s", cmd, err, out)
    	}
    	vol := strings.Trim(string(out), " \n\r")
    	return filepath.Join(vol, path[len(filepath.VolumeName(path)):])
    }
    
    func TestReadlink(t *testing.T) {
    	tests := []struct {
    		junction bool
    		dir      bool
    		drive    bool
    		relative bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top