Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for KUBERNETES_NODE_NAME (2.13 sec)

  1. cni/pkg/config/config.go

    	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
    	CNIBinTargetDirs []string
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig.go

    	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)
    }
    
    func writeCNIConfig(ctx context.Context, cniConfig []byte, cfg pluginConfig) (string, error) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    		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},
    		MonitoringPort:    viper.GetInt(constants.MonitoringPort),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top