- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 43 for KubeConfigPath (0.2 sec)
-
cmd/kubeadm/app/cmd/phases/upgrade/node/data_test.go
func (t *testData) IgnorePreflightErrors() sets.Set[string] { return nil } func (t *testData) PatchesDir() string { return "" } func (t *testData) KubeConfigPath() string { return "" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/data.go
Cfg() *kubeadmapi.InitConfiguration DryRun() bool SkipTokenPrint() bool IgnorePreflightErrors() sets.Set[string] CertificateWriteDir() string CertificateDir() string KubeConfigDir() string KubeConfigPath() string ManifestDir() string KubeletDir() string ExternalCA() bool OutputWriter() io.Writer Client() (clientset.Interface, error) ClientWithoutBootstrap() (clientset.Interface, error) Tokens() []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 10:43:20 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/kubeletconfig.go
Name: "kubelet-config", Short: "Upgrade the kubelet configuration for this node", Long: kubeletConfigLongDesc, Run: runKubeletConfigPhase(), InheritFlags: []string{ options.DryRun, options.KubeconfigPath, options.Patches, }, } return phase } func runKubeletConfigPhase() func(c workflow.RunData) error { return func(c workflow.RunData) error { data, ok := c.(Data) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/constant.go
// KubeconfigDir flag sets the path where to save the kubeconfig file. KubeconfigDir = "kubeconfig-dir" // KubeconfigPath flag sets the kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file. KubeconfigPath = "kubeconfig" // KubernetesVersion flag sets the Kubernetes version for the control plane. KubernetesVersion = "kubernetes-version"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 6.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
phase := workflow.Phase{ Name: "control-plane", Short: "Upgrade the control plane instance deployed on this node, if any", Run: runControlPlane(), InheritFlags: []string{ options.DryRun, options.KubeconfigPath, options.CertificateRenewal, options.EtcdUpgrade, options.Patches, }, } return phase } func runControlPlane() func(c workflow.RunData) error { return func(c workflow.RunData) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
return errors.Errorf("%s: spec was nil", errInvalid) } kubeConfigPath := filepath.Join(kubeConfigDir, name) if _, err := os.Stat(kubeConfigPath); err == nil { return errors.Errorf("%s: kube config: %s", errExist, kubeConfigPath) } else if !os.IsNotExist(err) { return errors.Wrapf(err, "unexpected error while checking if file exists: %s", kubeConfigPath) } if pkiutil.CSROrKeyExist(kubeConfigDir, name) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/data_test.go
func (t *testInitData) CertificateDir() string { return "" } func (t *testInitData) KubeConfigDir() string { return "" } func (t *testInitData) KubeConfigPath() string { return "" } func (t *testInitData) ManifestDir() string { return "" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 10:43:20 UTC 2023 - 2.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/join.go
* The Kubernetes control plane instances scaled up. {{.etcdMessage}} To start administering your cluster from this node, you need to run the following as a regular user: mkdir -p $HOME/.kube sudo cp -i {{.KubeConfigPath}} $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config Run 'kubectl get nodes' to see this node join the cluster. `))) joinLongDescription = dedent.Dedent(`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 25.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common.go
if !ok { return nil, nil, nil, nil, cmdutil.TypeMismatchErr("dryRun", "bool") } } client, err := getClient(flags.kubeConfigPath, *isDryRun) if err != nil { return nil, nil, nil, nil, errors.Wrapf(err, "couldn't create a Kubernetes client from file %q", flags.kubeConfigPath) } ignorePreflightErrorsSet, err := validation.ValidateIgnorePreflightErrors(flags.ignorePreflightErrors, ignoreErrCfg) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10.1K bytes - Viewed (0) -
tools/bug-report/pkg/bugreport/bugreport.go
clusterCtxStr, err = content.GetClusterContext(runner, config.KubeConfigPath) if err != nil { return err } } else { clusterCtxStr = config.Context } common.LogAndPrintf("\nTarget cluster context: %s\n", clusterCtxStr) common.LogAndPrintf("Running with the following config: \n\n%s\n\n", config) restConfig, clientset, err := kubeclient.New(config.KubeConfigPath, config.Context) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 20:57:29 UTC 2024 - 20.7K bytes - Viewed (0)