Replace yml with yaml

This commit is contained in:
navist2020 2021-02-25 11:52:34 +08:00
parent 27c89b9aec
commit c5d8da019a
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
`) `)
) )

View File

@ -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(`