Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 114 for KubeConfig (0.17 sec)

  1. cni/pkg/cmd/root.go

    	registerStringParameter(constants.KubeconfigFilename, "ZZZ-istio-cni-kubeconfig",
    		"Name of the kubeconfig file which CNI plugin will use when interacting with API server")
    	registerIntegerParameter(constants.KubeconfigMode, constants.DefaultKubeconfigMode, "File mode of the kubeconfig file")
    	registerStringParameter(constants.KubeCAFile, "", "CA file for kubeconfig. Defaults to the same as install-cni pod")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. cmd/kubelet/app/server.go

    		// 3. If the client provides both and the kubeconfig is valid, we must ignore the bootstrap
    		//    kubeconfig.
    		// 4. If the client provides both and the kubeconfig is expired or otherwise invalid, we must
    		//    replace the kubeconfig with a new file that points to the cert dir
    		//
    		// The desired configuration for bootstrapping is to use a bootstrap kubeconfig and to have
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/constants/constants.go

    	// AdminKubeConfigFileName defines name for the kubeconfig aimed to be used by the admin of the cluster
    	AdminKubeConfigFileName = "admin.conf"
    	// SuperAdminKubeConfigFileName defines name for the kubeconfig aimed to be used by the super-admin of the cluster
    	SuperAdminKubeConfigFileName = "super-admin.conf"
    
    	// KubeletBootstrapKubeConfigFileName defines the file name for the kubeconfig that the kubelet will use to do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server.go

    }
    
    func (s *Server) NotReady() {
    	s.isReady.Store(false)
    }
    
    // buildKubeClient creates the kube client
    func buildKubeClient(kubeConfig string) (kube.Client, error) {
    	// Used by validation
    	kubeRestConfig, err := kube.DefaultRestConfig(kubeConfig, "", func(config *rest.Config) {
    		config.QPS = 80
    		config.Burst = 160
    	})
    	if err != nil {
    		return nil, fmt.Errorf("failed creating kube config: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server.go

    		kubeConfig, err = clientcmd.NewNonInteractiveDeferredLoadingClientConfig(
    			&clientcmd.ClientConfigLoadingRules{ExplicitPath: config.Kubeconfig},
    			&clientcmd.ConfigOverrides{ClusterInfo: clientcmdapi.Cluster{Server: masterOverride}}).ClientConfig()
    	}
    	if err != nil {
    		return nil, err
    	}
    
    	kubeConfig.AcceptContentTypes = config.AcceptContentTypes
    	kubeConfig.ContentType = config.ContentType
    	kubeConfig.QPS = config.QPS
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    	fs.StringVar(&f.KubeConfig, "kubeconfig", f.KubeConfig, "Path to a kubeconfig file, specifying how to connect to the API server. Providing --kubeconfig enables API server mode, omitting --kubeconfig enables standalone mode.")
    
    	fs.StringVar(&f.BootstrapKubeconfig, "bootstrap-kubeconfig", f.BootstrapKubeconfig, "Path to a kubeconfig file that will be used to get client certificate for kubelet. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. prow/lib.sh

      fi
    
      # https://docs.tilt.dev/choosing_clusters.html#discovering-the-registry
      for cluster in $(kind get clusters); do
        # TODO get context/config from existing variables
        kind export kubeconfig --name="${cluster}"
        for node in $(kind get nodes --name="${cluster}"); do
          kubectl annotate node "${node}" "kind.x-k8s.io/registry=localhost:${KIND_REGISTRY_PORT}" --overwrite;
        done
      done
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. cni/pkg/install/install.go

    	if err != nil {
    		cniInstalls.With(resultLabel.Value(resultCopyBinariesFailure)).Increment()
    		return copiedFiles, fmt.Errorf("copy binaries: %v", err)
    	}
    
    	// Install kubeconfig (if needed) - we write/update this in the shared node CNI netdir,
    	// which may be watched by other CNIs, and so we don't want to trigger writes to this file
    	// unless it's missing or the contents are not what we expect.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. cni/pkg/repair/repair.go

    	if err != nil {
    		repairLog.Fatalf("Fatal error constructing repair controller: %+v", err)
    	}
    	go rc.Run(ctx.Done())
    	client.RunAndWait(ctx.Done())
    }
    
    // Set up Kubernetes client using kubeconfig (or in-cluster config if no file provided)
    func clientSetup() (kube.Client, error) {
    	config, err := kube.DefaultRestConfig("", "")
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/options.go

    	DefaultHostProbeSNATIP   = "169.254.7.127"
    	DefaultHostProbeSNATIPV6 = "fd16:9254:7127:1337:ffff:ffff:ffff:ffff"
    )
    
    type AmbientArgs struct {
    	SystemNamespace string
    	Revision        string
    	KubeConfig      string
    	ServerSocket    string
    	DNSCapture      bool
    	EnableIPv6      bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top