Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for KUBERNETES_SERVICE_PORT (0.3 sec)

  1. cni/test/testdata/env_vars.sh

    KUBE_DNS_PORT=udp://10.110.0.10:53
    # shellcheck disable=SC2034
    KUBERNETES_SERVICE_PORT_HTTPS=443
    # shellcheck disable=SC2034
    KUBERNETES_PORT_443_TCP_PORT=443
    # shellcheck disable=SC2034
    KUBERNETES_PORT_443_TCP=tcp://10.110.0.1:443
    # shellcheck disable=SC2034
    KUBE_DNS_PORT_53_TCP_PORT=53
    # shellcheck disable=SC2034
    KUBE_DNS_PORT_53_TCP=tcp://10.110.0.10:53
    # shellcheck disable=SC2034
    KUBERNETES_SERVICE_PORT=443
    # shellcheck disable=SC2034
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 1.9K bytes
    - Viewed (0)
  2. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    	// Whether to use insecure TLS in the kubeconfig file
    	SkipTLSVerify bool
    
    	// KUBERNETES_SERVICE_PROTOCOL
    	K8sServiceProtocol string
    	// KUBERNETES_SERVICE_HOST
    	K8sServiceHost string
    	// KUBERNETES_SERVICE_PORT
    	K8sServicePort string
    	// KUBERNETES_NODE_NAME
    	K8sNodeName string
    
    	// Directory from where the CNI binaries should be copied
    	CNIBinSourceDir string
    	// Directories into which to copy the CNI binaries
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig.go

    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_SERVICE_HOST__", vars.k8sServiceHost)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_SERVICE_PORT__", vars.k8sServicePort)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_NODE_NAME__", vars.k8sNodeName)
    
    	installLog.Infof("CNI config: %s", cniConfigStr)
    
    	return []byte(cniConfigStr)
    }
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    		SkipTLSVerify:      viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol: os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    		K8sServiceHost:     os.Getenv("KUBERNETES_SERVICE_HOST"),
    		K8sServicePort:     os.Getenv("KUBERNETES_SERVICE_PORT"),
    		K8sNodeName:        os.Getenv("KUBERNETES_NODE_NAME"),
    
    		CNIBinSourceDir:   constants.CNIBinDir,
    		CNIBinTargetDirs:  []string{constants.HostCNIBinDir},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top