|
34 | 34 | Enable or update dynamic kubelet configuration for a Node, against the kubelet-config-1.X ConfigMap in the cluster,
|
35 | 35 | where X is the minor version of the desired kubelet version.
|
36 | 36 |
|
37 |
| - WARNING: This feature is still experimental, and disabled by default. Enable only if you know what you are doing, as it |
| 37 | + WARNING: This kubeadm feature is deprecated. Enable only if you know what you are doing, as it |
38 | 38 | may have surprising side-effects at this stage.
|
39 | 39 |
|
40 | 40 | ` + cmdutil.AlphaDisclaimer)
|
|
43 | 43 | # Enable dynamic kubelet configuration for a Node.
|
44 | 44 | kubeadm alpha phase kubelet enable-dynamic-config --node-name node-1 --kubelet-version %s
|
45 | 45 |
|
46 |
| - WARNING: This feature is still experimental, and disabled by default. Enable only if you know what you are doing, as it |
| 46 | + WARNING: This kubeadm feature is deprecated. Enable only if you know what you are doing, as it |
47 | 47 | may have surprising side-effects at this stage.
|
48 | 48 | `, constants.CurrentKubernetesVersion))
|
49 | 49 | )
|
@@ -80,9 +80,11 @@ func newCmdKubeletConfigEnableDynamic() *cobra.Command {
|
80 | 80 |
|
81 | 81 | cmd := &cobra.Command{
|
82 | 82 | Use: "enable-dynamic",
|
83 |
| - Short: "EXPERIMENTAL: Enable or update dynamic kubelet configuration for a Node", |
| 83 | + Short: "DEPRECATED: Enable or update dynamic kubelet configuration for a Node", |
84 | 84 | Long: kubeletConfigEnableDynamicLongDesc,
|
85 | 85 | Example: kubeletConfigEnableDynamicExample,
|
| 86 | + Deprecated: "This command is deprecated and will be removed in a future release. Please defer to the official \"Dynamic Kubelet Configuration\" " + |
| 87 | + "guide at k8s.io if you wish to use this feature", |
86 | 88 | RunE: func(cmd *cobra.Command, args []string) error {
|
87 | 89 | if len(nodeName) == 0 {
|
88 | 90 | return errors.New("the --node-name argument is required")
|
|
0 commit comments