f0c400235a
- 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> |
||
---|---|---|
.. | ||
crd.yaml | ||
deployment.yaml | ||
rbac.yaml | ||
README.md | ||
values.yaml |
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
ytt
command-line options in the command below. - In a terminal, cd to this
deploy
directory - To generate the final YAML files, run:
ytt --file .
- Deploy the generated YAML using your preferred deployment tool, such as
kubectl
orkapp
. For example:ytt --file . | kapp deploy --yes --app pinniped --diff-changes --file -