- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 51 for kubeConfigPath (1.41 sec)
-
cmd/kubeadm/app/cmd/phases/init/bootstraptoken.go
Short: "Generates bootstrap tokens used to join a node to a cluster", Example: bootstrapTokenExamples, Long: bootstrapTokenLongDesc, InheritFlags: []string{ options.CfgPath, options.KubeconfigPath, options.SkipTokenPrint, options.DryRun, }, Run: runBootstrapToken, } } func runBootstrapToken(c workflow.RunData) error { data, ok := c.(InitData) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 4.1K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go
func SetDefaults_FileDiscovery(obj *FileDiscovery) { // Make sure file URL becomes path if len(obj.KubeConfigPath) != 0 { u, err := url.Parse(obj.KubeConfigPath) if err == nil && u.Scheme == "file" { obj.KubeConfigPath = u.Path } } } // SetDefaults_BootstrapTokens sets the defaults for the .BootstrapTokens field
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/generic.go
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.") // Note that DefValue is the text shown in the terminal and not the default value assigned to the flag fs.Lookup(KubeconfigPath).DefValue = constants.GetAdminKubeConfigPath() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/data.go
Cfg() *kubeadmapi.UpgradeConfiguration InitCfg() *kubeadmapi.InitConfiguration IsControlPlaneNode() bool Client() clientset.Interface IgnorePreflightErrors() sets.Set[string] PatchesDir() string KubeConfigPath() string OutputWriter() io.Writer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common_test.go
dryRun bool flags applyPlanFlags expectedErr string expectedErrNonRoot string }{ { name: "Fail pre-flight check", flags: applyPlanFlags{ kubeConfigPath: fullPath, }, expectedErr: "ERROR CoreDNSUnsupportedPlugins", expectedErrNonRoot: "user is not running as", // user is not running as (root || administrator) }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.5K bytes - Viewed (0) -
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/phases/init/uploadcerts.go
Long: fmt.Sprintf("Upload control plane certificates to the %s Secret", kubeadmconstants.KubeadmCertsSecret), Run: runUploadCerts, InheritFlags: []string{ options.CfgPath, options.KubeconfigPath, options.UploadCerts, options.CertificateKey, options.SkipCertificateKeyPrint, options.DryRun, }, } } func runUploadCerts(c workflow.RunData) error { data, ok := c.(InitData)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 04:00:49 UTC 2022 - 2.2K 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)