ContainerImage.Pinniped/deploy/concierge
Andrew Keesler af11d8cd58
Run Tilt images as root for faster reload
Previously, when triggering a Tilt reload via a *.go file change, a reload would
take ~13 seconds and we would see this error message in the Tilt logs for each
component.

  Live Update failed with unexpected error:
    command terminated with exit code 2
  Falling back to a full image build + deploy

Now, Tilt should reload images a lot faster (~3 seconds) since we are running
the images as root.

Note! Reloading the Concierge component still takes ~13 seconds because there
are 2 containers running in the Concierge namespace that use the Concierge
image: the main Concierge app and the kube cert agent pod. Tilt can't live
reload both of these at once, so the reload takes longer and we see this error
message.

  Will not perform Live Update because:
    Error retrieving container info: can only get container info for a single pod; image target image:image/concierge has 2 pods
  Falling back to a full image build + deploy

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-01-15 11:34:53 -05:00
..
authentication.concierge.pinniped.dev_jwtauthenticators.yaml Nest claim configs one level deeper in JWTAuthenticatorSpec 2020-12-16 09:42:19 -08:00
authentication.concierge.pinniped.dev_webhookauthenticators.yaml Put all of our APIs into a "pinniped" category, and never use "all". 2020-11-12 16:26:34 -06:00
config.concierge.pinniped.dev_credentialissuers.yaml Put all of our APIs into a "pinniped" category, and never use "all". 2020-11-12 16:26:34 -06:00
deployment.yaml Run Tilt images as root for faster reload 2021-01-15 11:34:53 -05:00
helpers.lib.yaml Add YTT template value for setting log level 2020-11-11 09:01:38 -05:00
rbac.yaml Merge branch 'main' of github.com:vmware-tanzu/pinniped into kubernetes-1.20 2021-01-08 13:22:31 -08:00
README.md Add supervisor yaml and rename concierge yaml in release process 2020-10-12 09:43:52 -07:00
values.yaml Run Tilt images as root for faster reload 2021-01-15 11:34:53 -05:00
z0_crd_overlay.yaml Add JWTAuthenticator API type 2020-12-08 15:41:48 -05:00

Deploying

Connecting Pinniped to an Identity Provider

If you would like to try Pinniped, but you don't have a compatible identity provider, you can use Pinniped's test identity provider. See deploy/local-user-authenticator/README.md for details.

Installing the Latest Version with Default Options

kubectl apply -f https://github.com/vmware-tanzu/pinniped/releases/download/$(curl https://api.github.com/repos/vmware-tanzu/pinniped/releases/latest -s | jq .name -r)/install-pinniped-concierge.yaml

Installing an Older Version with Default Options

Choose your preferred release version number and use it to replace the version number in the URL below.

# Replace v0.2.0 with your preferred version in the URL below
kubectl apply -f https://github.com/vmware-tanzu/pinniped/releases/download/v0.2.0/install-pinniped-concierge.yaml

Installing with Custom Options

Creating your own deployment YAML file requires ytt from Carvel to template the YAML files in the deploy/concierge directory. Either install ytt or use the container image from Dockerhub.

  1. git clone this repo and git checkout the release version tag of the release that you would like to deploy.
  2. The configuration options are in deploy/concierge/values.yml. Fill in the values in that file, or override those values using additional ytt command-line options in the command below. Use the release version tag as the image_tag value.
  3. In a terminal, cd to this deploy/concierge directory
  4. To generate the final YAML files, run ytt --file .
  5. Deploy the generated YAML using your preferred deployment tool, such as kubectl or kapp. For example: ytt --file . | kapp deploy --yes --app pinniped --diff-changes --file -