Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 197 for Mounts (0.48 sec)

  1. 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)
  2. 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)
  3. 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)
  4. docs/de/docs/advanced/wsgi.md

    # WSGI inkludieren – Flask, Django und andere
    
    Sie können WSGI-Anwendungen mounten, wie Sie es in [Unteranwendungen – Mounts](sub-applications.md){.internal-link target=_blank}, [Hinter einem Proxy](behind-a-proxy.md){.internal-link target=_blank} gesehen haben.
    
    Dazu können Sie die `WSGIMiddleware` verwenden und damit Ihre WSGI-Anwendung wrappen, zum Beispiel Flask, Django usw.
    
    ## `WSGIMiddleware` verwenden
    
    Sie müssen `WSGIMiddleware` importieren.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:05 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cgroup_manager_unsupported.go

    // Make sure that unsupportedCgroupManager implements the CgroupManager interface
    var _ CgroupManager = &unsupportedCgroupManager{}
    
    type CgroupSubsystems struct {
    	Mounts      []interface{}
    	MountPoints map[string]string
    }
    
    func NewCgroupManager(_ interface{}) CgroupManager {
    	return &unsupportedCgroupManager{}
    }
    
    func (m *unsupportedCgroupManager) Name(_ CgroupName) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. pkg/kubelet/cm/devicemanager/endpoint_test.go

    	})
    
    	contResp.Devices = append(contResp.Devices, &pluginapi.DeviceSpec{
    		ContainerPath: "/dev/bbb",
    		HostPath:      "/dev/bbb",
    		Permissions:   "mrw",
    	})
    
    	contResp.Mounts = append(contResp.Mounts, &pluginapi.Mount{
    		ContainerPath: "/container_dir1/file1",
    		HostPath:      "host_dir1/file1",
    		ReadOnly:      true,
    	})
    
    	resp.ContainerResponses = append(resp.ContainerResponses, contResp)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/sub-applications.md

    # Unteranwendungen – Mounts
    
    Wenn Sie zwei unabhängige FastAPI-Anwendungen mit deren eigenen unabhängigen OpenAPI und deren eigenen Dokumentationsoberflächen benötigen, können Sie eine Hauptanwendung haben und dann eine (oder mehrere) Unteranwendung(en) „mounten“.
    
    ## Mounten einer **FastAPI**-Anwendung
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top