mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-09 07:33:52 +00:00
- We are not setting an upper limit because Kubernetes might randomly decide to unschedule our pod in ways that we can't anticipate in advance, causing very hard to reproduce production bugs. - We noticed that our app currently uses ~30 MB of memory when idle, and ~35 MB of memory under some load. So a memory request of 128 MB should be reasonable. Signed-off-by: Andrew Keesler <akeesler@vmware.com>
Deploying
Tools
This example deployment uses ytt from Carvel to template the YAML files.
Either install ytt or use the container image from Dockerhub.
Procedure
- The configuration options are in values.yml. Fill in the values in that file, or override those values
using
yttcommand-line options in the command below. - In a terminal, cd to this
deploydirectory - To generate the final YAML files, run:
ytt --file . - Deploy the generated YAML using your preferred deployment tool, such as
kubectlorkapp. For example:ytt --file . | kapp deploy --yes --app pinniped --diff-changes --file -