- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 923 for Mounts (0.1 sec)
-
pkg/kubelet/cm/devicemanager/manager_test.go
return func(b *containerAllocateResponseBuilder) { b.devices = devices } } // withMounts sets the mounts for the containerAllocateResponseBuilder func withMounts(mounts map[string]string) containerAllocateResponseBuilderOption { return func(b *containerAllocateResponseBuilder) { b.mounts = mounts } } // withEnvs sets the envs for the containerAllocateResponseBuilder
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
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) -
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) -
pkg/kubelet/cm/devicemanager/types.go
type DeviceRunContainerOptions struct { // The environment variables list. Envs []kubecontainer.EnvVar // The mounts for the container. Mounts []kubecontainer.Mount // The host devices mapped into the container. Devices []kubecontainer.DeviceInfo // The Annotations for the container Annotations []kubecontainer.Annotation // CDI Devices for the container
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 5K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices.go
} continue } klog.V(4).InfoS("Add mount", "containerPath", mount.ContainerPath, "hostPath", mount.HostPath) mountsMap[mount.ContainerPath] = mount.HostPath opts.Mounts = append(opts.Mounts, kubecontainer.Mount{ Name: mount.ContainerPath, ContainerPath: mount.ContainerPath, HostPath: mount.HostPath, ReadOnly: mount.ReadOnly, // TODO: This may need to be part of Device plugin API.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/volume/util/util.go
// script will cause additional mounts created in the container. Since these mounts are // irrelevant to the original mounts, they should be not considered when checking the // mount references. The current solution is to filter out those mount paths that contain // the k8s plugin suffix of original mount path. func HasMountRefs(mountPath string, mountRefs []string) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil_linux.go
} // FindMountInfo returns the mount info on the given path. func (hu *HostUtil) FindMountInfo(path string) (mount.MountInfo, error) { return findMountInfo(path, procMountInfoPath) } // isShared returns true, if given path is on a mount point that has shared // mount propagation. func isShared(mount string, mountInfoPath string) (bool, error) { info, err := findMountInfo(mount, mountInfoPath) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 08:36:44 UTC 2023 - 10K bytes - Viewed (0) -
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) -
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) -
pkg/volume/local/local.go
fs := v1.PersistentVolumeFilesystem // The main purpose of reconstructed volume is to clean unused mount points // and directories. // For filesystem volume with directory source, no global mount path is // needed to clean. Empty path is ok. // For filesystem volume with block source, we should resolve to its device // path if global mount path exists. var path string mounter := plugin.host.GetMounter(plugin.GetPluginName())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0)