Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Mounts (0.22 sec)

  1. pkg/kubelet/kubelet_pods_windows_test.go

    			ContainerPath:  `C:\Windows\System32\drivers\etc\hosts`,
    			HostPath:       filepath.Join(podDir, "etc-hosts"),
    			ReadOnly:       false,
    			SELinuxRelabel: true,
    		},
    	}
    	assert.Equal(t, expectedMounts, mounts, "mounts of container %+v", container)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. cni/pkg/constants/constants.go

    )
    
    // Exposed for testing "constants"
    var (
    	CNIBinDir     = "/opt/cni/bin"
    	HostCNIBinDir = "/host/opt/cni/bin"
    	// Well-known subpath we will mount any needed host-mounts under,
    	// to preclude shadowing or breaking any pod-internal mounts
    	HostMountsPath = "/host"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/tr/docs/advanced/wsgi.md

    # WSGI - Flask, Django ve Daha Fazlasını FastAPI ile Kullanma
    
    WSGI uygulamalarını [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} bölümlerinde gördüğünüz gibi bağlayabilirsiniz.
    
    Bunun için `WSGIMiddleware` ile Flask, Django vb. WSGI uygulamanızı sarmalayabilir ve FastAPI'ya bağlayabilirsiniz.
    
    ## `WSGIMiddleware` Kullanımı
    
    `WSGIMiddleware`'ı projenize dahil edin.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:49:03 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/wsgi.md

    # Including WSGI - Flask, Django, others
    
    You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}.
    
    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware`
    
    You need to import `WSGIMiddleware`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    			// reconcile() calls SetUp and reconstructs the volume in ASW.
    			klog.V(4).InfoS("Volume exists in desired state, skip cleaning up mounts", "podName", volume.podName, "volumeSpecName", volume.volumeSpecName)
    			continue
    		}
    		klog.InfoS("Cleaning up mounts for volume that could not be reconstructed", "podName", volume.podName, "volumeSpecName", volume.volumeSpecName)
    		rc.cleanupMounts(volume)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/wsgi.md

    # 包含 WSGI - Flask,Django,其它
    
    您可以挂载多个 WSGI 应用,正如您在 [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} 中所看到的那样。
    
    为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。
    
    ## 使用 `WSGIMiddleware`
    
    您需要导入 `WSGIMiddleware`。
    
    然后使用该中间件包装 WSGI 应用(例如 Flask)。
    
    之后将其挂载到某一个路径下。
    
    ```Python hl_lines="2-3  22"
    {!../../../docs_src/wsgi/tutorial001.py!}
    ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/reconciler/reconciler.go

    	readyToUnmount := rc.readyToUnmount()
    	if readyToUnmount {
    		// Unmounts are triggered before mounts so that a volume that was
    		// referenced by a pod that was deleted and is now referenced by another
    		// pod is unmounted from the first pod before being mounted to the new
    		// pod.
    		rc.unmountVolumes()
    	}
    
    	// Next we mount required volumes. This function could also trigger
    	// attach if kubelet is responsible for attaching volumes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top