Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetNodeName (0.14 sec)

  1. cmd/kubelet/app/server.go

    	clientConfig.QPS = float32(s.KubeAPIQPS)
    	clientConfig.Burst = int(s.KubeAPIBurst)
    }
    
    // getNodeName returns the node name according to the cloud provider
    // if cloud provider is specified. Otherwise, returns the hostname of the node.
    func getNodeName(cloud cloudprovider.Interface, hostname string) (types.NodeName, error) {
    	if cloud == nil {
    		return types.NodeName(hostname), nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. pilot/pkg/xds/ads.go

    		}
    	}
    	// add topology labels to proxy labels
    	proxy.Labels = labelutil.AugmentLabels(
    		proxy.Labels,
    		proxy.Metadata.ClusterID,
    		util.LocalityToString(proxy.Locality),
    		proxy.GetNodeName(),
    		proxy.Metadata.Network,
    	)
    }
    
    func localityFromProxyLabels(proxy *model.Proxy) *core.Locality {
    	region, f1 := proxy.Labels[labelutil.LabelTopologyRegion]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. pkg/volume/plugins.go

    	GetExec(pluginName string) exec.Interface
    
    	// Returns the labels on the node
    	GetNodeLabels() (map[string]string, error)
    
    	// Returns the name of the node
    	GetNodeName() types.NodeName
    
    	GetAttachedVolumesFromNodeStatus() (map[v1.UniqueVolumeName]string, error)
    
    	// Returns the event recorder of kubelet.
    	GetEventRecorder() record.EventRecorder
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  4. pilot/pkg/model/context.go

    	return node.Metadata.Labels[constants.TestVMLabel] != ""
    }
    
    func (node *Proxy) IsProxylessGrpc() bool {
    	return node.Metadata != nil && node.Metadata.Generator == "grpc"
    }
    
    func (node *Proxy) GetNodeName() string {
    	if node.Metadata != nil && len(node.Metadata.NodeName) > 0 {
    		return node.Metadata.NodeName
    	}
    	// fall back to get the node name from labels
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
Back to top