- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for newControlPlane (0.21 sec)
-
cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow" "k8s.io/kubernetes/cmd/kubeadm/app/phases/upgrade" "k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient" ) // NewControlPlane creates a kubeadm workflow phase that implements handling of control-plane upgrade. func NewControlPlane() workflow.Phase { phase := workflow.Phase{ Name: "control-plane", Short: "Upgrade the control plane instance deployed on this node, if any",
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/util/config/cluster_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 26.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster.go
) // 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 { printer = &output.TextPrinter{} } printer.Printf("[%s] Reading configuration from the cluster...\n", logPrefix)
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/upgrade/diff_test.go
return "", errors.Wrap(err, "failed to close temporary test file") } return file.Name(), nil } func fakeFetchInitConfig(client clientset.Interface, printer output.Printer, logPrefix string, newControlPlane, skipComponentConfigs bool) (*kubeadmapi.InitConfiguration, error) { return &kubeadmapi.InitConfiguration{ ClusterConfiguration: kubeadmapi.ClusterConfiguration{ KubernetesVersion: "v1.0.1", }, }, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 04:08:57 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/diff.go
} // FetchInitConfigurationFunc defines the signature of the function which will fetch InitConfiguration from cluster. type FetchInitConfigurationFunc func(client clientset.Interface, printer output.Printer, logPrefix string, newControlPlane, skipComponentConfigs bool) (*kubeadmapi.InitConfiguration, error) func runDiff(fs *pflag.FlagSet, flags *diffFlags, args []string, fetchInitConfigurationFromCluster FetchInitConfigurationFunc) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/node.go
options.AddPatchesFlag(cmd.Flags(), &nodeOptions.patchesDir) // initialize the workflow runner with the list of phases nodeRunner.AppendPhase(phases.NewPreflightPhase()) nodeRunner.AppendPhase(phases.NewControlPlane()) nodeRunner.AppendPhase(phases.NewKubeletConfigPhase()) // sets the data builder function, that will be used by the runner // both when running the entire workflow or single phases
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10K bytes - Viewed (0)