Previously, the ytt install docs suggested that you use ytt templates from the HEAD of main with the container image from the latest public release, which could result in a mismatch.
2.7 KiB
title | description | cascade | menu | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Install the Pinniped Supervisor | Install the Pinniped Supervisor service in a Kubernetes cluster. |
|
|
This guide shows you how to install the Pinniped Supervisor, which allows seamless login across one or many Kubernetes clusters. You should have a supported Kubernetes cluster with working HTTPS ingress capabilities.
With default options
-
Install the latest version of the Supervisor into the
pinniped-supervisor
namespace with default options:kubectl apply -f https://get.pinniped.dev/latest/install-pinniped-supervisor.yaml
With specific version and default options
-
Choose your preferred release version number and use it to replace the version number in the URL below.
-
Install the Supervisor into the
pinniped-supervisor
namespace with default options:-
kubectl apply -f https://get.pinniped.dev/v0.9.2/install-pinniped-supervisor.yaml
Replace v0.9.2 with your preferred version number.
-
With custom options
Pinniped uses ytt from Carvel as a templating system.
-
Install the
ytt
command-line tool using the instructions from the Carvel documentation. -
Clone the Pinniped GitHub repository and visit the
deploy/supervisor
directory:git clone git@github.com:vmware-tanzu/pinniped.git
cd pinniped/deploy/supervisor
-
Decide which release version you would like to install. All release versions are listed on GitHub.
-
Checkout your preferred version tag, e.g.
v0.9.2
.-
git checkout v0.9.2
Replace v0.9.2 with your preferred version number.
-
-
Customize configuration parameters:
- Edit
values.yaml
with your custom values. - Change the
image_tag
value to match your preferred version tag, e.g.v0.9.2
. Replace v0.9.2 with your preferred version number. - See the default values for documentation about individual configuration parameters.
- Edit
-
Render templated YAML manifests:
ytt --file .
-
Deploy the templated YAML manifests:
-
If you're using
kubectl
:ytt --file . | kubectl apply -f -
-
If you're using
kapp
from Carvel:ytt --file . | kapp deploy --yes --app pinniped-supervisor --diff-changes --file -
-
Next Steps
Now that you have installed the Supervisor, you will want to [configure the Supervisor]({{< ref "configure-supervisor" >}}).