talos/docs/osctl/osctl_cluster_create.md
Andrey Smirnov 399aeda0b9 feat: rename confusing target options, --endpoints, etc.
Fixes #1610

1. In `talosconfig`, deprecate `Target` in favor of `Endpoints`
(client-side LB to come next).

2. In `osctl`, use `--nodes` in place of `--target`.

3. In `osctl` add option `--endpoints` to override `Endpoints` for the
call.

Other changes are just updates to catch up with the changes. Most
probably I missed something... And CAPI provider needs update.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-12-10 02:23:54 +03:00

1.5 KiB

osctl cluster create

Creates a local docker-based kubernetes cluster

Synopsis

Creates a local docker-based kubernetes cluster

osctl cluster create [flags]

Options

      --cpus string                 the share of CPUs as fraction (each container) (default "1.5")
  -h, --help                        help for create
      --image string                the image to use (default "docker.io/autonomy/talos:v0.3.0-alpha.10-51-g3a93e65b-dirty")
      --kubernetes-version string   desired kubernetes version to run (default "1.16.2")
      --masters int                 the number of masters to create (default 1)
      --memory int                  the limit on memory usage in MB (each container) (default 1024)
      --mtu string                  MTU of the docker bridge network (default "1500")
      --workers int                 the number of workers to create (default 1)

Options inherited from parent commands

      --context string       Context to be used in command
  -e, --endpoints strings    override default endpoints in Talos configuration
      --name string          the name of the cluster (default "talos_default")
      --nodes strings        target the specified nodes
      --talosconfig string   The path to the Talos configuration file (default "/home/smira/.talos/config")

SEE ALSO

  • osctl cluster - A collection of commands for managing local docker-based clusters
Auto generated by spf13/cobra on 10-Dec-2019