Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 104 for vol6 (1.7 sec)

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

    	runningPod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "runningPod",
    			Namespace: testNamespace,
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "vol1",
    					VolumeSource: v1.VolumeSource{
    						PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    							ClaimName: "runningClaim",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    	asw ActualStateOfWorld) {
    	volumes := asw.GetMountedVolumes()
    	for _, vol := range volumes {
    		if vol.VolumeName == expectedVolumeName {
    			if vol.SELinuxMountContext == expectedSELinuxContext {
    				return
    			}
    			t.Errorf(
    				"Volume %q has wrong SELinux context, expected %q, got %q",
    				expectedVolumeName,
    				expectedSELinuxContext,
    				vol.SELinuxMountContext)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_utils_test.go

    	mounts := append(petMounts, podMounts...)
    	claims := []v1.PersistentVolumeClaim{}
    	for _, m := range petMounts {
    		claims = append(claims, newPVC(m.Name))
    	}
    
    	vols := []v1.Volume{}
    	for _, m := range podMounts {
    		vols = append(vols, v1.Volume{
    			Name: m.Name,
    			VolumeSource: v1.VolumeSource{
    				HostPath: &v1.HostPathVolumeSource{
    					Path: fmt.Sprintf("/tmp/%v", m.Name),
    				},
    			},
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  4. plugin/pkg/admission/namespace/autoprovision/admission_test.go

    func newPod(namespace string) api.Pod {
    	return api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    			Volumes:    []api.Volume{{Name: "vol"}},
    			Containers: []api.Container{{Name: "ctr", Image: "image"}},
    		},
    	}
    }
    
    // hasCreateNamespaceAction returns true if it has the create namespace action
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. pkg/apis/core/validation/validation.go

    	if podMeta != nil && podMeta.Name != "" {
    		for _, vol := range volumes {
    			if vol.VolumeSource.Ephemeral != nil {
    				allCreatedPVCs.Insert(podMeta.Name + "-" + vol.Name)
    			}
    		}
    	}
    	vols := make(map[string]core.VolumeSource)
    	for i, vol := range volumes {
    		idxPath := fldPath.Index(i)
    		namePath := idxPath.Child("name")
    		el := validateVolumeSource(&vol.VolumeSource, idxPath, vol.Name, podMeta, opts)
    		if len(vol.Name) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            int di = 0;
            for ( ;; ) {
                            /* NTLM HTTP Authentication must be re-negotiated
                             * with challenge from 'server' to access DFS vol. */
                dr.resolveHashes = auth.hashesExternal;
                dr.ttl = resp.referrals[di].ttl;
                dr.expiration = expiration;
                if (path.equals("")) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/testing/testing.go

    	// For debugging purposes, print the queue
    	logger := klog.FromContext(ctx)
    	for _, obj := range r.changedObjects {
    		switch obj.(type) {
    		case *v1.PersistentVolume:
    			vol, _ := obj.(*v1.PersistentVolume)
    			logger.V(4).Info("Reactor queue", "volumeName", vol.Name)
    		case *v1.PersistentVolumeClaim:
    			claim, _ := obj.(*v1.PersistentVolumeClaim)
    			logger.V(4).Info("Reactor queue", "PVC", klog.KObj(claim))
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top