Documentation ¶
Index ¶
- func NewCmdInit(out io.Writer) *cobra.Command
- func NewCmdJoin(out io.Writer) *cobra.Command
- func NewCmdVersion(out io.Writer) *cobra.Command
- func NewKubeadmCommand(f *cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command
- func RunInit(out io.Writer, cmd *cobra.Command, args []string, ...) error
- func RunJoin(out io.Writer, cmd *cobra.Command, args []string, ...) error
- func RunVersion(out io.Writer, cmd *cobra.Command) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdInit ¶
NewCmdInit returns "kubeadm init" command.
func NewCmdJoin ¶
NewCmdJoin returns "kubeadm join" command.
func NewKubeadmCommand ¶
func RunInit ¶
func RunInit(out io.Writer, cmd *cobra.Command, args []string, cfg *kubeadmapi.MasterConfiguration) error
RunInit executes master node provisioning, including certificates, needed static pod manifests, etc.
func RunJoin ¶
func RunJoin(out io.Writer, cmd *cobra.Command, args []string, s *kubeadmapi.NodeConfiguration) error
RunJoin executes worked node provisioning and tries to join an existing cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.