Packages

A package is a part of the platform that the operator adds. Grafana, Tailscale and Mail are packages. The package commands are the operator's. They do what the catalog's Add button and a package page's Remove button do.

Listing

gko package list

package list prints the packages this install has added, with their status. It then prints the packages it can add, with the answers each one asks for.

Adding

gko package add grafana
gko package add -set tailscaleClientId=<id> -set tailscaleClientSecret=<secret> tailscale

package add adds a package. Give each answer with -set name=value, by the names that package list shows. An answer marked required must be given. The command returns when the package is added, and the package then installs.

Changing an added package

gko package show grafana
gko package set -test tailscale tailscaleClientId=<id> tailscaleClientSecret=<secret>
gko package retry grafana
gko package upgrade gko-platform
gko package kubeconfig tailscale > ~/.kube/tailnet.kubeconfig

These are a package page's actions. package show prints its state, why it is not running if it is not, and its answers; a stored secret shows only as (set). package set changes answers by name, and the others keep theirs. With -test, a group that can be tried is tried against its service first and saved only if it answers. package retry asks a failed package to install or upgrade again now. package upgrade gko-platform moves the install chart to the next version the catalog has. package kubeconfig tailscale prints a kubeconfig that reaches the cluster's API through your tailnet.

Removing

gko package remove grafana

package remove uninstalls the package and deletes its answers. Type the package's name to confirm, or give -yes.


Last validated: · View as Markdown