- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetJoinControlPlaneCommand (0.18 sec)
-
cmd/kubeadm/app/cmd/util/join.go
return getJoinCommand(kubeConfigFile, token, "", false, skipTokenPrint, false) } // GetJoinControlPlaneCommand returns the kubeadm join command for a given token and // Kubernetes cluster (the current cluster in the kubeconfig file) func GetJoinControlPlaneCommand(kubeConfigFile, token, key string, skipTokenPrint, skipCertificateKeyPrint bool) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/showjoincommand.go
} } return nil } func printJoinCommand(out io.Writer, adminKubeConfigPath, token string, i InitData) error { joinControlPlaneCommand, err := cmdutil.GetJoinControlPlaneCommand(adminKubeConfigPath, token, i.CertificateKey(), i.SkipTokenPrint(), i.SkipCertificateKeyPrint()) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 15:35:58 UTC 2022 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token.go
// otherwise, just print the token if printJoinCommand { skipTokenPrint := false if certificateKey != "" { skipCertificateKeyPrint := false joinCommand, err := cmdutil.GetJoinControlPlaneCommand(kubeConfigFile, internalcfg.BootstrapTokens[0].Token.String(), certificateKey, skipTokenPrint, skipCertificateKeyPrint) if err != nil { return errors.Wrap(err, "failed to get join command") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0)