Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 586 for Mounts (0.17 sec)

  1. 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)
  2. pkg/kubelet/kubelet_pods.go

    	mounts := []kubecontainer.Mount{}
    	var cleanupAction func()
    	for i, mount := range container.VolumeMounts {
    		// do not mount /etc/hosts if container is already mounting on the path
    		mountEtcHostsFile = mountEtcHostsFile && (mount.MountPath != etcHostsPath)
    		vol, ok := podVolumes[mount.Name]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K 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. plugin/pkg/admission/serviceaccount/admission.go

    		ReadOnly:  true,
    		MountPath: DefaultAPITokenMountPath,
    	}
    
    	// Ensure every container mounts the APISecret volume
    	needsTokenVolume := false
    	for i, container := range pod.Spec.InitContainers {
    		existingContainerMount := false
    		for _, volumeMount := range container.VolumeMounts {
    			// Existing mounts at the default mount path prevent mounting of the API token
    			if volumeMount.MountPath == DefaultAPITokenMountPath {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. pkg/volume/portworx/portworx.go

    }
    
    // SetUp attaches the disk and bind mounts to the volume path.
    func (b *portworxVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
    	return b.SetUpAt(b.GetPath(), mounterArgs)
    }
    
    // SetUpAt attaches the disk and bind mounts to the volume path.
    func (b *portworxVolumeMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {
    	notMnt, err := b.mounter.IsLikelyNotMountPoint(dir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/kubelet/kuberuntime/kuberuntime_container.go

    }
    
    // makeMounts generates container volume mounts for kubelet runtime v1.
    func (m *kubeGenericRuntimeManager) makeMounts(opts *kubecontainer.RunContainerOptions, container *v1.Container) []*runtimeapi.Mount {
    	volumeMounts := []*runtimeapi.Mount{}
    
    	for idx := range opts.Mounts {
    		v := opts.Mounts[idx]
    		selinuxRelabel := v.SELinuxRelabel && selinux.GetEnabled()
    		mount := &runtimeapi.Mount{
    			HostPath:          v.HostPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cgroup_manager_linux.go

    }
    
    // CgroupSubsystems holds information about the mounted cgroup subsystems
    type CgroupSubsystems struct {
    	// Cgroup subsystem mounts.
    	// e.g.: "/sys/fs/cgroup/cpu" -> ["cpu", "cpuacct"]
    	Mounts []libcontainercgroups.Mount
    
    	// Cgroup subsystem to their mount location.
    	// e.g.: "cpu" -> "/sys/fs/cgroup/cpu"
    	MountPoints map[string]string
    }
    
    // cgroupManagerImpl implements the CgroupManager interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
Back to top