Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 586 for Mounts (0.14 sec)

  1. src/internal/poll/fd_fsync_darwin.go

    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return ignoringEINTR(func() error {
    		_, err := unix.Fcntl(fd.Sysfd, syscall.F_FULLFSYNC, 0)
    
    		// There are scenarios such as SMB mounts where fcntl will fail
    		// with ENOTSUP. In those cases fallback to fsync.
    		// See #64215
    		if err != nil && errors.Is(err, syscall.ENOTSUP) {
    			err = syscall.Fsync(fd.Sysfd)
    		}
    		return err
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:20:48 UTC 2024
    - 850 bytes
    - Viewed (0)
  2. plugin/pkg/admission/serviceaccount/admission_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      serviceAccountName,
    			Namespace: ns,
    			UID:       types.UID(serviceAccountUID),
    		},
    	})
    
    	// Define a pod with a container that already mounts a volume at the API token path
    	// Admission should respect that
    	// Additionally, no volume should be created if no container is going to use it
    	pod := &api.Pod{
    		Spec: api.PodSpec{
    			Containers: []api.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top