Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 247 for KubeConfig (0.41 sec)

  1. hack/lib/util.sh

    current-context: local-up-cluster
    EOF
    
        # flatten the kubeconfig files to make them self contained
        username=$(whoami)
        ${sudo} /usr/bin/env bash -e <<EOF
        $(kube::util::find-binary kubectl) --kubeconfig="${dest_dir}/${client_id}.kubeconfig" config view --minify --flatten > "/tmp/${client_id}.kubeconfig"
        mv -f "/tmp/${client_id}.kubeconfig" "${dest_dir}/${client_id}.kubeconfig"
        chown ${username} "${dest_dir}/${client_id}.kubeconfig"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    //	    client-key: /path/to/key.pem          # key matching the cert
    //
    // For additional HTTP configuration, refer to the kubeconfig documentation
    // https://kubernetes.io/docs/user-guide/kubeconfig-file/.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. 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)
  5. cmd/kubeadm/app/cmd/join.go

    		There are 2 main schemes for discovery. The first is to use a shared
    		token along with the IP address of the API server. The second is to
    		provide a file - a subset of the standard kubeconfig file. The
    		discovery/kubeconfig file supports token, client-go authentication
    		plugins ("exec"), "tokenFile", and "authProvider". This file can be a
    		local file or downloaded via an HTTPS URL. The forms are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  6. cluster/pre-existing/util.sh

        SERVICE_CLUSTER_IP_RANGE="${SERVICE_CLUSTER_IP_RANGE:-$cluster_range/16}"
      fi
    }
    
    function create-certs {
      execute-cmd-on-pre-existing-master-with-retries 'sudo cat /etc/kubernetes/admin.conf' > /tmp/kubeconfig
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 25 21:33:22 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/config/config.go

    	Authentication apiserver.AuthenticationInfo
    	Authorization  apiserver.AuthorizationInfo
    
    	// the general kube client
    	Client *clientset.Clientset
    
    	// the rest config for the master
    	Kubeconfig *restclient.Config
    
    	EventBroadcaster record.EventBroadcaster
    	EventRecorder    record.EventRecorder
    }
    
    type completedConfig struct {
    	*Config
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 31 09:32:21 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. tests/fuzz/bootstrap_fuzzer.go

    	}
    	defer os.Remove(kubeConfigFile)
    
    	args := &bootstrap.PilotArgs{}
    	err = f.GenerateStruct(args)
    	if err != nil {
    		return 0
    	}
    
    	args.MeshConfigFile = meshConfigFile
    	args.RegistryOptions.KubeConfig = kubeConfigFile
    	args.ShutdownDuration = 1 * time.Millisecond
    
    	stop := make(chan struct{})
    	s, err := bootstrap.NewServer(args)
    	if err != nil {
    		return 0
    	}
    	err = s.Start(stop)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook_test.go

    			err := func() error {
    				kubeConfig := v1.Config{}
    
    				if tt.cluster != nil {
    					kubeConfig.Clusters = []v1.NamedCluster{*tt.cluster}
    				}
    
    				if tt.context != nil {
    					kubeConfig.Contexts = []v1.NamedContext{*tt.context}
    				}
    
    				if tt.user != nil {
    					kubeConfig.AuthInfos = []v1.NamedAuthInfo{*tt.user}
    				}
    
    				kubeConfig.CurrentContext = tt.currentContext
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top