Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 923 for Mounts (0.13 sec)

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

      safe-bind-mount "${mountpoint}" "${bindpoint}"
    }
    
    # Bind mounts device at mountpoint to bindpoint
    function safe-bind-mount(){
      local mountpoint="${1}"
      local bindpoint="${2}"
    
      # Mount device to the mountpoint
      mkdir -p "${bindpoint}"
      echo "Binding '${mountpoint}' at '${bindpoint}'"
      mount --bind "${mountpoint}" "${bindpoint}"
      chmod a+w "${bindpoint}"
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  2. pkg/apis/core/types.go

    	// MountPropagationBidirectional means that the volume in a container will
    	// receive new mounts from the host or other containers, and its own mounts
    	// will be propagated from the container to the host or other containers.
    	// Note that this mode is recursively applied to all mounts in the volume
    	// ("rshared" in Linux terminology).
    	MountPropagationBidirectional MountPropagationMode = "Bidirectional"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  3. pkg/volume/fc/fc.go

    	// Try really hard to get the global mount of the volume, an error returned from here would
    	// leave the global mount still mounted, while marking the volume as unused.
    	// The volume can then be mounted on several nodes, resulting in volume
    	// corruption.
    	paths, err := util.GetReliableMountRefs(mounter, mountPath)
    	if io.IsInconsistentReadError(err) {
    		klog.Errorf("Failed to read mount refs from /proc/mounts for %s: %s", mountPath, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. tests/count_test.go

    		t.Errorf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    
    	if count != int64(len(users)) {
    		t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users))
    	}
    
    	DB.Model(&User{}).Where("name = ?", user1.Name).Count(&count1).Or("name in ?", []string{user2.Name, user3.Name}).Count(&count2)
    	if count1 != 1 || count2 != 3 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    				},
    			},
    		},
    	}
    }
    
    func newStatefulSetWithVolumes(replicas int32, name string, petMounts []v1.VolumeMount, podMounts []v1.VolumeMount) *apps.StatefulSet {
    	mounts := append(petMounts, podMounts...)
    	claims := []v1.PersistentVolumeClaim{}
    	for _, m := range petMounts {
    		claims = append(claims, newPVC(m.Name))
    	}
    
    	vols := []v1.Volume{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    	CloudProvider string
    
    	// cloudConfigFile is the path to the cloud provider configuration file.
    	// +optional
    	CloudConfigFile string
    
    	// rootDirectory is the directory path to place kubelet files (volume
    	// mounts,etc).
    	RootDirectory string
    
    	// The Kubelet will load its initial configuration from this file.
    	// The path may be absolute or relative; relative paths are under the Kubelet's current working directory.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // `/foo` would allow `/foo`, `/foo/` and `/foo/bar`
      // `/foo` would not allow `/food` or `/etc/foo`
      optional string pathPrefix = 1;
    
      // when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
      // +optional
      optional bool readOnly = 2;
    }
    
    // Eviction evicts a pod from its node subject to certain policies and safety constraints.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. pkg/volume/local/local_test.go

    	}{
    		"empty": {
    			[]string{},
    			[]string{},
    		},
    		"not-pod-mount": {
    			[]string{"/mnt/outside"},
    			[]string{},
    		},
    		"pod-mount": {
    			[]string{filepath.Join(podsDir, "pod-mount")},
    			[]string{filepath.Join(podsDir, "pod-mount")},
    		},
    		"not-directory-prefix": {
    			[]string{podsDir + "pod-mount"},
    			[]string{},
    		},
    		"mix": {
    			[]string{"/mnt/outside",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    				goto childerror
    			}
    			if _, _, err1 = RawSyscall(SYS_CLOSE, fd1, 0, 0); err1 != 0 {
    				goto childerror
    			}
    		}
    
    		// The unshare system call in Linux doesn't unshare mount points
    		// mounted with --shared. Systemd mounts / with --shared. For a
    		// long discussion of the pros and cons of this see debian bug 739593.
    		// The Go model of unsharing is more like Plan 9, where you ask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. pkg/volume/emptydir/empty_dir_test.go

    		path           string
    		mounter        mount.Interface
    		expectedResult resource.Quantity
    		shouldFail     bool
    	}{
    		"Valid: existing 2Mi mount": {
    			path:           "/mnt/hugepages-2Mi",
    			mounter:        mounter,
    			shouldFail:     false,
    			expectedResult: resource.MustParse("2Mi"),
    		},
    		"Valid: existing 1Gi mount": {
    			path:           "/mnt/hugepages-1Gi",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top