- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for FetchInitConfigurationFromCluster (0.7 sec)
-
cmd/kubeadm/app/util/config/cluster.go
"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient" "k8s.io/kubernetes/cmd/kubeadm/app/util/config/strict" "k8s.io/kubernetes/cmd/kubeadm/app/util/output" ) // FetchInitConfigurationFromCluster fetches configuration from a ConfigMap in the cluster func FetchInitConfigurationFromCluster(client clientset.Interface, printer output.Printer, logPrefix string, newControlPlane, skipComponentConfigs bool) (*kubeadmapi.InitConfiguration, error) { if printer == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 11K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/reset.go
} client, err := cmdutil.GetClientSet(opts.kubeconfigPath, false) if err == nil { klog.V(1).Infof("[reset] Loaded client set from kubeconfig file: %s", opts.kubeconfigPath) initCfg, err = configutil.FetchInitConfigurationFromCluster(client, nil, "reset", false, false) if err != nil { klog.Warningf("[reset] Unable to fetch the kubeadm-config ConfigMap from cluster: %v", err) } } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 12:26:58 UTC 2023 - 11.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs.go
if cfgPath == "" && client != nil { internalcfg, err := configutil.FetchInitConfigurationFromCluster(client, printer, logPrefix, false, false) if err == nil { printer.Println() // add empty line to separate the FetchInitConfigurationFromCluster output from the command output
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common.go
klog.V(1).Info("running preflight checks") if err := runPreflightChecks(client, ignorePreflightErrorsSet, printer); err != nil { return nil, nil, nil, nil, err } initCfg, err := configutil.FetchInitConfigurationFromCluster(client, printer, "upgrade/config", false, false) if err != nil { if apierrors.IsNotFound(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/node.go
// (worker node), we are not reading local API address and the CRI socket from the node object initCfg, err := configutil.FetchInitConfigurationFromCluster(client, nil, "upgrade", !isControlPlaneNode, false) if err != nil { return nil, errors.Wrap(err, "unable to fetch the kubeadm-config ConfigMap") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/join.go
if err != nil { return nil, errors.Wrap(err, "unable to access the cluster") } // Fetches the init configuration initConfiguration, err := configutil.FetchInitConfigurationFromCluster(tlsClient, nil, "preflight", true, false) if err != nil { return nil, errors.Wrap(err, "unable to fetch the kubeadm-config ConfigMap") } return initConfiguration, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 25.2K bytes - Viewed (0)