K0s install

k0s install

Helper command for setting up k0s on a brand-new system. Must be run as root (or with sudo)

  1. k0s install [flags]

Options

  1. -h, --help help for install
  2. --role string node role (possible values: server or worker. In a single-node setup, a worker role should be used) (default "server")

Options inherited from parent commands

  1. -c, --config string config file (default: ./k0s.yaml)
  2. --data-dir string Data Directory for k0s (default: /var/lib/k0s). DO NOT CHANGE for an existing setup, things will break!
  3. -d, --debug Debug logging (default: false)
  4. -l, --logging stringToString Logging Levels for the different components (default [kube-controller-manager=1,kube-scheduler=1,kubelet=1,etcd=info,containerd=info,konnectivity-server=1,kube-apiserver=1])

SEE ALSO

  • k0s - k0s - Zero Friction Kubernetes