Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getHostIPsAnyWay (0.18 sec)

  1. pkg/kubelet/kubelet_pods.go

    		return pod.Spec.ServiceAccountName, nil
    	case "status.hostIP":
    		hostIPs, err := kl.getHostIPsAnyWay()
    		if err != nil {
    			return "", err
    		}
    		return hostIPs[0].String(), nil
    	case "status.hostIPs":
    		if !utilfeature.DefaultFeatureGate.Enabled(features.PodHostIPs) {
    			return "", nil
    		}
    		hostIPs, err := kl.getHostIPsAnyWay()
    		if err != nil {
    			return "", err
    		}
    		ips := make([]string, 0, len(hostIPs))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top