mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Add an alias update
for subcommand enable
This commit is contained in:
parent
104d89762d
commit
de6c7f75a6
@ -57,7 +57,7 @@ var (
|
||||
`)
|
||||
|
||||
kubeletEnableDynamicConfigLongDesc = normalizer.LongDesc(`
|
||||
Enables dynamic kubelet configuration on node. This should be run on nodes.
|
||||
Enables or updates dynamic kubelet configuration on node. This should be run on nodes.
|
||||
Please note that the kubelet configuration can be passed to kubeadm as a value into the master configuration file.
|
||||
` + cmdutil.AlphaDisclaimer)
|
||||
|
||||
@ -160,7 +160,8 @@ func NewCmdKubeletEnableDynamicConfig() *cobra.Command {
|
||||
var cfgPath string
|
||||
cmd := &cobra.Command{
|
||||
Use: "enable",
|
||||
Short: "Enables dynamic kubelet configuration on node",
|
||||
Aliases: []string{"update"},
|
||||
Short: "Enables or updates dynamic kubelet configuration on node",
|
||||
Long: kubeletEnableDynamicConfigLongDesc,
|
||||
Example: kubeletEnableDynamicConfigExample,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
Loading…
Reference in New Issue
Block a user