mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Merge pull request #99433 from navist2020/fix/kubeadm/out_info
Replace yml with yaml
This commit is contained in:
commit
4880b996b5
@ -27,7 +27,7 @@ import (
|
||||
var (
|
||||
markControlPlaneExample = cmdutil.Examples(`
|
||||
# Applies control-plane label and taint to the current node, functionally equivalent to what executed by kubeadm init.
|
||||
kubeadm init phase mark-control-plane --config config.yml
|
||||
kubeadm init phase mark-control-plane --config config.yaml
|
||||
|
||||
# Applies control-plane label and taint to a specific node
|
||||
kubeadm init phase mark-control-plane --node-name myNode
|
||||
|
@ -30,7 +30,7 @@ import (
|
||||
var (
|
||||
preflightExample = cmdutil.Examples(`
|
||||
# Run pre-flight checks for kubeadm init using a config file.
|
||||
kubeadm init phase preflight --config kubeadm-config.yml
|
||||
kubeadm init phase preflight --config kubeadm-config.yaml
|
||||
`)
|
||||
)
|
||||
|
||||
|
@ -36,7 +36,7 @@ import (
|
||||
var (
|
||||
preflightExample = cmdutil.Examples(`
|
||||
# Run join pre-flight checks using a config file.
|
||||
kubeadm join phase preflight --config kubeadm-config.yml
|
||||
kubeadm join phase preflight --config kubeadm-config.yaml
|
||||
`)
|
||||
|
||||
notReadyToJoinControlPlaneTemp = template.Must(template.New("join").Parse(dedent.Dedent(`
|
||||
|
Loading…
Reference in New Issue
Block a user