mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +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 (
|
var (
|
||||||
markControlPlaneExample = cmdutil.Examples(`
|
markControlPlaneExample = cmdutil.Examples(`
|
||||||
# Applies control-plane label and taint to the current node, functionally equivalent to what executed by kubeadm init.
|
# 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
|
# Applies control-plane label and taint to a specific node
|
||||||
kubeadm init phase mark-control-plane --node-name myNode
|
kubeadm init phase mark-control-plane --node-name myNode
|
||||||
|
@ -30,7 +30,7 @@ import (
|
|||||||
var (
|
var (
|
||||||
preflightExample = cmdutil.Examples(`
|
preflightExample = cmdutil.Examples(`
|
||||||
# Run pre-flight checks for kubeadm init using a config file.
|
# 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 (
|
var (
|
||||||
preflightExample = cmdutil.Examples(`
|
preflightExample = cmdutil.Examples(`
|
||||||
# Run join pre-flight checks using a config file.
|
# 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(`
|
notReadyToJoinControlPlaneTemp = template.Must(template.New("join").Parse(dedent.Dedent(`
|
||||||
|
Loading…
Reference in New Issue
Block a user