Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 277 for KUBECONFIG (0.11 sec)

  1. cmd/kubeadm/app/cmd/options/generic.go

    )
    
    // AddKubeConfigFlag adds the --kubeconfig flag to the given flagset
    func AddKubeConfigFlag(fs *pflag.FlagSet, kubeConfigFile *string) {
    	fs.StringVar(kubeConfigFile, KubeconfigPath, *kubeConfigFile, "The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

    	}
    	fs.StringVar(&s.RemoteKubeConfigFile, "authentication-kubeconfig", s.RemoteKubeConfigFile, ""+
    		"kubeconfig file pointing at the 'core' kubernetes server with enough rights to create "+
    		"tokenreviews.authentication.k8s.io."+optionalKubeConfigSentence)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 14:51:22 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  3. pkg/test/framework/components/environment/kube/flags.go

    	// Normalize KUBECONFIG so that it is separated by the OS path list separator.
    	// The framework currently supports comma as a separator, but that violates the
    	// KUBECONFIG spec.
    	value := env.KUBECONFIG.Value()
    	if strings.Contains(value, ",") {
    		updatedValue := strings.ReplaceAll(value, ",", string(filepath.ListSeparator))
    		_ = os.Setenv(env.KUBECONFIG.Name(), updatedValue)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go

    		"--etcd-prefix", uuid.New().String(),
    		"--etcd-servers", strings.Join(IntegrationEtcdServers(), ","),
    		"--authentication-skip-lookup",
    		"--authentication-kubeconfig", fakeKubeConfig.Name(),
    		"--authorization-kubeconfig", fakeKubeConfig.Name(),
    		"--kubeconfig", fakeKubeConfig.Name(),
    		// disable admission and filters that require talking to kube-apiserver
    		"--enable-priority-and-fairness=false",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. cmd/kubemark/app/hollow_node.go

    var knownMorphs = sets.NewString("kubelet", "proxy")
    
    func (c *hollowNodeConfig) addFlags(fs *pflag.FlagSet) {
    	fs.StringVar(&c.KubeconfigPath, "kubeconfig", "/kubeconfig/kubeconfig", "Path to kubeconfig file.")
    	fs.StringVar(&c.BootstrapKubeconfigPath, "bootstrap-kubeconfig", "", "Path to bootstrap kubeconfig file.")
    	fs.StringVar(&c.CertDirectory, "cert-dir", "/etc/srv/", "Path to cert directory for bootstraping.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. pkg/test/framework/components/istioctl/kube.go

    		}
    	}
    	return nil
    }
    
    // Invoke implements Instance
    func (c *kubeComponent) Invoke(args []string) (string, string, error) {
    	cmdArgs := append([]string{
    		"--kubeconfig",
    		c.kubeconfig,
    	}, args...)
    
    	var out bytes.Buffer
    	var err bytes.Buffer
    
    	start := time.Now()
    
    	invokeMutex.Lock()
    	rootCmd := cmd.GetRootCmd(cmdArgs)
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. istioctl/pkg/cli/context.go

    }
    
    type instance struct {
    	// clients are cached clients for each revision
    	clients map[string]kube.CLIClient
    	RootFlags
    }
    
    func newKubeClientWithRevision(kubeconfig, configContext, revision string) (kube.CLIClient, error) {
    	rc, err := kube.DefaultRestConfig(kubeconfig, configContext, func(config *rest.Config) {
    		// We are running a one-off command locally, so we don't need to worry too much about rate limiting
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. common/scripts/setup_env.sh

            break
          fi
        fi
      done
    else
      add_KUBECONFIG_if_exists "$1"
    fi
    }
    
    KUBECONFIG=${KUBECONFIG:="$HOME/.kube/config"}
    parse_KUBECONFIG "${KUBECONFIG}"
    if [[ "${FOR_BUILD_CONTAINER:-0}" -eq "1" ]]; then
      KUBECONFIG="${container_kubeconfig%?}"
    fi
    
    # LOCAL_OUT should point to architecture where we are currently running versus the desired.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/options/deprecated.go

    	fs.StringVar(&o.Kubeconfig, "kubeconfig", "", "DEPRECATED: path to kubeconfig file with authorization and master location information. This parameter is ignored if a config file is specified in --config.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 13:24:38 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/discovery/https/https.go

    	response, err := client.Get(httpsURL)
    	if err != nil {
    		return nil, err
    	}
    	defer response.Body.Close()
    
    	kubeconfig, err := io.ReadAll(response.Body)
    	if err != nil {
    		return nil, err
    	}
    
    	config, err := clientcmd.Load(kubeconfig)
    	if err != nil {
    		return nil, err
    	}
    	return file.ValidateConfigInfo(config, discoveryTimeout)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 24 04:29:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top