Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for RuntimeHandlers (0.44 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go

    	VolumesAttached []AttachedVolumeApplyConfiguration     `json:"volumesAttached,omitempty"`
    	Config          *NodeConfigStatusApplyConfiguration    `json:"config,omitempty"`
    	RuntimeHandlers []NodeRuntimeHandlerApplyConfiguration `json:"runtimeHandlers,omitempty"`
    }
    
    // NodeStatusApplyConfiguration constructs an declarative configuration of the NodeStatus type for use with
    // apply.
    func NodeStatus() *NodeStatusApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Node.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/core.v1.Node.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/core.v1.Node.yaml

        kubeletVersion: kubeletVersionValue
        machineID: machineIDValue
        operatingSystem: operatingSystemValue
        osImage: osImageValue
        systemUUID: systemUUIDValue
      phase: phaseValue
      runtimeHandlers:
      - features:
          recursiveReadOnlyMounts: true
        name: nameValue
      volumesAttached:
      - devicePath: devicePathValue
        name: nameValue
      volumesInUse:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Node.yaml

        kubeletVersion: kubeletVersionValue
        machineID: machineIDValue
        operatingSystem: operatingSystemValue
        osImage: osImageValue
        systemUUID: systemUUIDValue
      phase: phaseValue
      runtimeHandlers:
      - features:
          recursiveReadOnlyMounts: true
        name: nameValue
      volumesAttached:
      - devicePath: devicePathValue
        name: nameValue
      volumesInUse:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pkg/kubelet/nodestatus/setters.go

    		return nil
    	}
    }
    
    // RuntimeHandlers returns a Setter that sets RuntimeHandlers on the node.
    func RuntimeHandlers(fn func() []kubecontainer.RuntimeHandler) Setter {
    	return func(ctx context.Context, node *v1.Node) error {
    		if !utilfeature.DefaultFeatureGate.Enabled(features.RecursiveReadOnlyMounts) {
    			return nil
    		}
    		handlers := fn()
    		node.Status.RuntimeHandlers = make([]v1.NodeRuntimeHandler, len(handlers))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. pkg/kubelet/runtime.go

    	s.runtimeError = err
    }
    
    func (s *runtimeState) setRuntimeHandlers(rtHandlers []kubecontainer.RuntimeHandler) {
    	s.Lock()
    	defer s.Unlock()
    	s.rtHandlers = rtHandlers
    }
    
    func (s *runtimeState) runtimeHandlers() []kubecontainer.RuntimeHandler {
    	s.RLock()
    	defer s.RUnlock()
    	return s.rtHandlers
    }
    
    func (s *runtimeState) setStorageState(err error) {
    	s.Lock()
    	defer s.Unlock()
    	s.storageError = err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. pkg/registry/core/node/strategy.go

    	// for update
    	if !nodeConfigSourceInUse(oldNode) && oldNode != nil {
    		node.Spec.ConfigSource = nil
    	}
    
    	if !utilfeature.DefaultFeatureGate.Enabled(features.RecursiveReadOnlyMounts) {
    		node.Status.RuntimeHandlers = nil
    	}
    }
    
    // nodeConfigSourceInUse returns true if node's Spec ConfigSource is set(used)
    func nodeConfigSourceInUse(node *api.Node) bool {
    	if node == nil {
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    	if err != nil {
    		klog.ErrorS(err, "failed to look up the runtime handler", "runtimeClassName", pod.Spec.RuntimeClassName)
    		return false
    	}
    	runtimeHandlers := kl.runtimeState.runtimeHandlers()
    	return runtimeHandlerSupportsRecursiveReadOnlyMounts(runtimeHandlerName, runtimeHandlers)
    }
    
    // runtimeHandlerSupportsRecursiveReadOnlyMounts checks whether the runtime handler supports recursive read-only mounts.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_node_status.go

    		nodestatus.DaemonEndpoints(kl.daemonEndpoints),
    		nodestatus.Images(kl.nodeStatusMaxImages, kl.imageManager.GetImageList),
    		nodestatus.GoRuntime(),
    		nodestatus.RuntimeHandlers(kl.runtimeState.runtimeHandlers),
    	)
    
    	setters = append(setters,
    		nodestatus.MemoryPressureCondition(kl.clock.Now, kl.evictionManager.IsUnderMemoryPressure, kl.recordNodeStatusEvent),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top