Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for GetNodeName (0.08 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller.go

    func (c *Controller) GetProxyWorkloadLabels(proxy *model.Proxy) labels.Instance {
    	pod := c.pods.getPodByProxy(proxy)
    	if pod != nil {
    		var locality, nodeName string
    		locality = c.getPodLocality(pod)
    		if len(proxy.GetNodeName()) == 0 {
    			// this can happen for an "old" proxy with no `Metadata.NodeName` set
    			// in this case we set the node name in labels on the fly
    			// TODO: remove this when 1.16 is EOL?
    			nodeName = pod.Spec.NodeName
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top