Skip to content

Commit

Permalink
Merge pull request #652 from jasmingacic/install_help_cleanup
Browse files Browse the repository at this point in the history
Removed misleading install help information
  • Loading branch information
jasmingacic authored Jan 25, 2021
2 parents 595b9cd + 9a19781 commit ffe820c
Show file tree
Hide file tree
Showing 24 changed files with 22 additions and 26 deletions.
1 change: 0 additions & 1 deletion cmd/installServer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ var (
Use: "server",
Short: "Helper command for setting up k0s as server node on a brand-new system. Must be run as root (or with sudo)",
Example: `All default values of server command will be passed to the service stub unless overriden.
To get information about default values run "k0s install server --help"
With server subcommand you can setup a single node cluster by running:
Expand Down
1 change: 0 additions & 1 deletion cmd/installWorker.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ var (
Short: "Helper command for setting up k0s as a worker node on a brand-new system. Must be run as root (or with sudo)",
Example: `Worker subcommand allows you to pass in all available worker parameters.
All default values of worker command will be passed to the service stub unless overriden.
To get information about default values run "k0s install worker --help"
Windows flags like "--api-server", "--cidr-range" and "--cluster-dns" will be ignored since install command doesn't yet support Windows services`,
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ k0s - The zero friction Kubernetes - https://k0sproject.io
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-h, --help help for k0s
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ k0s api [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ k0s completion [bash|zsh|fish|powershell]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_default-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ k0s default-config [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ k0s docs [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_etcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Manage etcd cluster
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_etcd_leave.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ k0s etcd leave [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_etcd_member-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ k0s etcd member-list [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Helper command for setting up k0s on a brand-new system. Must be run as root (or
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
3 changes: 1 addition & 2 deletions docs/cli/k0s_install_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ k0s install server [flags]

```
All default values of server command will be passed to the service stub unless overriden.
To get information about default values run "k0s install server --help"
With server subcommand you can setup a single node cluster by running:
Expand All @@ -35,7 +34,7 @@ With server subcommand you can setup a single node cluster by running:
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
3 changes: 1 addition & 2 deletions docs/cli/k0s_install_worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ k0s install worker [flags]
```
Worker subcommand allows you to pass in all available worker parameters.
All default values of worker command will be passed to the service stub unless overriden.
To get information about default values run "k0s install worker --help"
Windows flags like "--api-server", "--cidr-range" and "--cluster-dns" will be ignored since install command doesn't yet support Windows services
```
Expand All @@ -36,7 +35,7 @@ Windows flags like "--api-server", "--cidr-range" and "--cluster-dns" will be ig
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_kubeconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ k0s kubeconfig [command] [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_kubeconfig_admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ k0s kubeconfig admin [command] [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_kubeconfig_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ k0s kubeconfig create [username] [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ k0s server [join-token] [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The command will return information about system init, PID, k0s role, kubeconfig
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ k0s token [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_token_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ k0s token create [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_validate.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Helper command for validating the config file
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_validate_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ k0s validate config [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ k0s version [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/k0s_worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ k0s worker [join-token] [flags]
--data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
-d, --debug Debug logging (default: false)
--debugListenOn string Http listenOn for debug pprof handler (default ":6060")
-l, --logging stringToString Logging Levels for the different components (default [konnectivity-server=1,kube-apiserver=1,kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info])
-l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,kube-proxy=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])
```

### SEE ALSO
Expand Down

0 comments on commit ffe820c

Please sign in to comment.