Skip to main content
Version: 1.0

wf local

wf local

Provides the provision of local installation

Synopsis

Bootstrap provides an experimental means of bootstrapping a local Wayfinder installation. At present the local installation uses "kind" https://github.com/kubernetes-sigs/kind.

Unless specified otherwise, it will deploy an official tagged release from Github, though this can be overridden using the --release flag. Note the installation is performed via Helm with a local ${HOME}/.wayfinder/values.yaml generated in the directory. If you wish to change any of the values post installation, update the values.yaml file and re-run the 'up' command.

Note the data persistence is tied to the installation provider. For kind, as long as the container is not delete the data is kept.

wf local [flags]

Examples


# Provision a local wayfinder instance called 'wayfinder' (defaults to kind)
$ wf local up

# By default we will download the official tagged release; you can however override this
# behaviour by using the --release and --version flags. Note, its best to leave these unless
# you know explicitly what you need to override.

$ wf local up --release ./charts/wayfinder
$ wf local up --release https://URL

# Override the version
$ wf local up --version latest --release ./charts/wayfinder

# Destroy the local installation
$ wf local destroy

# To stop the local installed without deleting the data
$ wf local stop

The application should be available on http://127.0.0.1:3000. You can provision the
CLI via:

$ wf login -a http://127.0.0.1:10080 local

Post the command your Kubectl context is switched to the kind installation:

$ kubectl config current-context

Options

  -h, --help   help for local

Options inherited from parent commands

      --debug              Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within

SEE ALSO

  • wf - wf provides a cli for Wayfinder
  • wf local destroy - Brings down Wayfinder on a local kubernetes cluster
  • wf local stop - Shuts down the local cluster without losing any state
  • wf local up - Brings up wayfinder on a local kubernetes cluster