@@ -64,7 +64,7 @@ func NewCmdConfig(out io.Writer) *cobra.Command {
64
64
65
65
cmd := & cobra.Command {
66
66
Use : "config" ,
67
- Short : "Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster. " ,
67
+ Short : "Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster" ,
68
68
Long : fmt .Sprintf (dedent .Dedent (`
69
69
There is a ConfigMap in the %s namespace called %q that kubeadm uses to store internal configuration about the
70
70
cluster. kubeadm CLI v1.8.0+ automatically creates this ConfigMap with the config used with 'kubeadm init', but if you
@@ -223,7 +223,7 @@ func NewCmdConfigMigrate(out io.Writer) *cobra.Command {
223
223
var oldCfgPath , newCfgPath string
224
224
cmd := & cobra.Command {
225
225
Use : "migrate" ,
226
- Short : "Read an older version of the kubeadm configuration API types from a file, and output the similar config object for the newer version. " ,
226
+ Short : "Read an older version of the kubeadm configuration API types from a file, and output the similar config object for the newer version" ,
227
227
Long : fmt .Sprintf (dedent .Dedent (`
228
228
This command lets you convert configuration objects of older versions to the latest supported version,
229
229
locally in the CLI tool without ever touching anything in the cluster.
@@ -267,7 +267,7 @@ func NewCmdConfigMigrate(out io.Writer) *cobra.Command {
267
267
func NewCmdConfigUpload (out io.Writer , kubeConfigFile * string ) * cobra.Command {
268
268
cmd := & cobra.Command {
269
269
Use : "upload" ,
270
- Short : "Upload configuration about the current state, so that 'kubeadm upgrade' can later know how to configure the upgraded cluster. " ,
270
+ Short : "Upload configuration about the current state, so that 'kubeadm upgrade' can later know how to configure the upgraded cluster" ,
271
271
RunE : cmdutil .SubCmdRunE ("upload" ),
272
272
}
273
273
@@ -280,7 +280,7 @@ func NewCmdConfigUpload(out io.Writer, kubeConfigFile *string) *cobra.Command {
280
280
func NewCmdConfigView (out io.Writer , kubeConfigFile * string ) * cobra.Command {
281
281
return & cobra.Command {
282
282
Use : "view" ,
283
- Short : "View the kubeadm configuration stored inside the cluster. " ,
283
+ Short : "View the kubeadm configuration stored inside the cluster" ,
284
284
Long : fmt .Sprintf (dedent .Dedent (`
285
285
Using this command, you can view the ConfigMap in the cluster where the configuration for kubeadm is located.
286
286
@@ -303,7 +303,7 @@ func NewCmdConfigUploadFromFile(out io.Writer, kubeConfigFile *string) *cobra.Co
303
303
var cfgPath string
304
304
cmd := & cobra.Command {
305
305
Use : "from-file" ,
306
- Short : "Upload a configuration file to the in-cluster ConfigMap for kubeadm configuration. " ,
306
+ Short : "Upload a configuration file to the in-cluster ConfigMap for kubeadm configuration" ,
307
307
Long : fmt .Sprintf (dedent .Dedent (`
308
308
Using this command, you can upload configuration to the ConfigMap in the cluster using the same config file you gave to 'kubeadm init'.
309
309
If you initialized your cluster using a v1.7.x or lower kubeadm client and used the --config option, you need to run this command with the
@@ -343,7 +343,7 @@ func NewCmdConfigUploadFromFlags(out io.Writer, kubeConfigFile *string) *cobra.C
343
343
344
344
cmd := & cobra.Command {
345
345
Use : "from-flags" ,
346
- Short : "Create the in-cluster configuration file for the first time from using flags. " ,
346
+ Short : "Create the in-cluster configuration file for the first time from using flags" ,
347
347
Long : fmt .Sprintf (dedent .Dedent (`
348
348
Using this command, you can upload configuration to the ConfigMap in the cluster using the same flags you gave to 'kubeadm init'.
349
349
If you initialized your cluster using a v1.7.x or lower kubeadm client and set certain flags, you need to run this command with the
@@ -397,7 +397,7 @@ func RunConfigView(out io.Writer, client clientset.Interface) error {
397
397
func NewCmdConfigImages (out io.Writer ) * cobra.Command {
398
398
cmd := & cobra.Command {
399
399
Use : "images" ,
400
- Short : "Interact with container images used by kubeadm. " ,
400
+ Short : "Interact with container images used by kubeadm" ,
401
401
RunE : cmdutil .SubCmdRunE ("images" ),
402
402
}
403
403
cmd .AddCommand (NewCmdConfigImagesList (out , nil ))
@@ -414,7 +414,7 @@ func NewCmdConfigImagesPull() *cobra.Command {
414
414
415
415
cmd := & cobra.Command {
416
416
Use : "pull" ,
417
- Short : "Pull images used by kubeadm. " ,
417
+ Short : "Pull images used by kubeadm" ,
418
418
Run : func (_ * cobra.Command , _ []string ) {
419
419
externalcfg .ClusterConfiguration .FeatureGates , err = features .NewFeatureGate (& features .InitFeatureGates , featureGatesString )
420
420
kubeadmutil .CheckErr (err )
@@ -472,7 +472,7 @@ func NewCmdConfigImagesList(out io.Writer, mockK8sVersion *string) *cobra.Comman
472
472
473
473
cmd := & cobra.Command {
474
474
Use : "list" ,
475
- Short : "Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized. " ,
475
+ Short : "Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized" ,
476
476
Run : func (_ * cobra.Command , _ []string ) {
477
477
externalcfg .ClusterConfiguration .FeatureGates , err = features .NewFeatureGate (& features .InitFeatureGates , featureGatesString )
478
478
kubeadmutil .CheckErr (err )
0 commit comments