Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for KUBERNETES_SERVICE_PORT (0.24 sec)

  1. cni/pkg/install/kubeconfig.go

    	if len(cfg.K8sServiceHost) == 0 {
    		return kubeconfig{}, fmt.Errorf("KUBERNETES_SERVICE_HOST not set. Is this not running within a pod?")
    	}
    
    	if len(cfg.K8sServicePort) == 0 {
    		return kubeconfig{}, fmt.Errorf("KUBERNETES_SERVICE_PORT not set. Is this not running within a pod?")
    	}
    
    	protocol := model.GetOrDefault(cfg.K8sServiceProtocol, "https")
    	cluster := &api.Cluster{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top