ecde8fa8af
- Call the auto-generated /healthz endpoint of our aggregated API server - Use http for liveness even though tcp seems like it might be more appropriate, because tcp probes cause TLS handshake errors to appear in our logs every few seconds - Use conservative timeouts and retries on the liveness probe to avoid having our container get restarted when it is temporarily slow due to running in an environment under resource pressure - Use less conservative timeouts and retries for the readiness probe to remove an unhealthy pod from the service less conservatively than restarting the container - Tuning the settings for retries and timeouts seem to be a mysterious art, so these are just a first draft |
||
---|---|---|
.. | ||
crd.yaml | ||
deployment.yaml | ||
rbac.yaml | ||
README.md | ||
values.yaml |
Deploying
This example deployment uses ytt
and kapp
from k14s.io.
If you would rather not install these command-line tools directly on your machine, you can use alternatively get the most recent version of this container image: https://hub.docker.com/r/k14s/image/tags
- Fill in the values in values.yml
- In a terminal, cd to this
deploy
directory - Run:
ytt --file . | kapp deploy --yes --app placeholder-name --diff-changes --file -