Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for providerRequiresNetworkingConfiguration (0.38 sec)

  1. pkg/kubelet/kubelet_network.go

    import (
    	"context"
    	"fmt"
    
    	v1 "k8s.io/api/core/v1"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    )
    
    // providerRequiresNetworkingConfiguration returns whether the cloud provider
    // requires special networking configuration.
    func (kl *Kubelet) providerRequiresNetworkingConfiguration() bool {
    	// TODO: We should have a mechanism to say whether native cloud provider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status.go

    		}
    
    		nodeTaints = append(nodeTaints, taint)
    	}
    	if len(nodeTaints) > 0 {
    		node.Spec.Taints = nodeTaints
    	}
    	// Initially, set NodeNetworkUnavailable to true.
    	if kl.providerRequiresNetworkingConfiguration() {
    		node.Status.Conditions = append(node.Status.Conditions, v1.NodeCondition{
    			Type:               v1.NodeNetworkUnavailable,
    			Status:             v1.ConditionTrue,
    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