Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 79 for Mounts (0.1 sec)

  1. pkg/volume/nfs/nfs.go

    	}
    }
    
    // SetUp attaches the disk and bind mounts to the volume path.
    func (nfsMounter *nfsMounter) SetUp(mounterArgs volume.MounterArgs) error {
    	return nfsMounter.SetUpAt(nfsMounter.GetPath(), mounterArgs)
    }
    
    func (nfsMounter *nfsMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {
    	notMnt, err := mount.IsNotMountPoint(nfsMounter.mounter, dir)
    	klog.V(4).Infof("NFS mount set up: %s %v %v", dir, !notMnt, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/sub-applications.md

    # Sub Applications - Mounts
    
    If you need to have two independent FastAPI applications, with their own independent OpenAPI and their own docs UIs, you can have a main app and "mount" one (or more) sub-application(s).
    
    ## Mounting a **FastAPI** application
    
    "Mounting" means adding a completely "independent" application in a specific path, that then takes care of handling everything under that path, with the _path operations_ declared in that sub-application.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. pkg/kubelet/util/swap/swap_util.go

    	utilkernel "k8s.io/kubernetes/pkg/util/kernel"
    	"k8s.io/mount-utils"
    )
    
    var (
    	tmpfsNoswapOptionSupported        bool
    	tmpfsNoswapOptionAvailabilityOnce sync.Once
    	swapOn                            bool
    	swapOnErr                         error
    	swapOnOnce                        sync.Once
    )
    
    const TmpfsNoswapOption = "noswap"
    
    func IsTmpfsNoswapOptionSupported(mounter mount.Interface, mountPath string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. pkg/volume/util/hostutil/hostutil.go

    	// to get the global mount path within its plugin directory.
    	// TODO: Remove this method once the rbd and vsphere plugins are removed from in-tree.
    	GetDeviceNameFromMount(mounter mount.Interface, mountPath, pluginMountDir string) (string, error)
    	// MakeRShared checks that given path is on a mount with 'rshared' mount
    	// propagation. If not, it bind-mounts the path as rshared.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/conntrack.go

    }
    
    // isSysFSWritable checks /proc/mounts to see whether sysfs is 'rw' or not.
    func (rct realConntracker) isSysFSWritable(ctx context.Context) (bool, error) {
    	logger := klog.FromContext(ctx)
    	const permWritable = "rw"
    	const sysfsDevice = "sysfs"
    	m := mount.New("" /* default mount path */)
    	mountPoints, err := m.List()
    	if err != nil {
    		logger.Error(err, "Failed to list mount points")
    		return false, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. pkg/volume/util/nested_volumes_test.go

    								{MountPath: "/dir/nested2/double", Name: "vol8"},
    								{MountPath: "/dir/nested2", Name: "vol3"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name:     "Multiple vol1 mounts Pod",
    			err:      false,
    			expected: sets.New[string]("nested", "nested2"),
    			volname:  "vol1",
    			pod: v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: testNamespace,
    					UID:       testPodUID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. common/scripts/setup_env.sh

      unset -f "${f}"
    done
    
    # Set conditional host mounts
    CONDITIONAL_HOST_MOUNTS="${CONDITIONAL_HOST_MOUNTS:-} "
    container_kubeconfig=''
    
    # docker conditional host mount (needed for make docker push)
    if [[ -d "${HOME}/.docker" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. pkg/volume/flexvolume/plugin.go

    	if err != nil {
    		return "", fmt.Errorf("GetVolumeName failed from getDeviceMountPath: %s", err)
    	}
    
    	mountsDir := filepath.Join(plugin.host.GetPluginDir(flexVolumePluginName), plugin.driverName, "mounts")
    	return filepath.Join(mountsDir, volumeName), nil
    }
    
    func (plugin *flexVolumePlugin) RequiresFSResize() bool {
    	return plugin.capabilities.RequiresFSResize
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/container_manager.go

    	// UpdateQOSCgroups performs housekeeping updates to ensure that the top
    	// level QoS containers have their desired state in a thread-safe way
    	UpdateQOSCgroups() error
    
    	// GetResources returns RunContainerOptions with devices, mounts, and env fields populated for
    	// extended resources required by container.
    	GetResources(pod *v1.Pod, container *v1.Container) (*kubecontainer.RunContainerOptions, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    ## Sub Applications
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top