Add a production-grade kubernetes deployment process.
Pain Point I would like to test this tool to see if it will speed up slow bazel builds. I have a multi-tenant kubernetes cluster I can deploy a short-lived service on, provided I clean everything up when done evaluating this tool. Here are some requirements:
Requirements
- A robust solution with clear resource limits. I need to know how much resources these services will use before deployment
- It should be clearer what will be deployed. These shell scripts don't tell me what affect they will have on the cluster in high enough detail.
- It should be secure and production-grade. The kubernetes example says "Don't use this example deployment in production. It's insecure."
- It should be possible to deploy this in about 30 minutes of user-time, and clean up in 5 minutes.
- Transparent: All
kubectlcommands should be manually run. Currently they are inside scripts, which hide the most critical parts of the workflow. I would strongly prefer a larger number of commands so that I can see each step and it's outcome.
Thanks for the feedback @Ely-S! We are going to address it right away.
-
The setup here is an example for local development using kind (Kubernetes-in-Docker) to give you a sense for how you could deploy it with Kubernetes. We should be more explicit in the docs about that.
-
There's obviously truth to this statement:
It should be clearer what will be deployed. These shell scripts don't tell me what affect they will have on the cluster in high enough detail. We are documenting a path to fix that right away to enumerate exactly what we are doing, though the "cluster" in this example is really intended to run locally as a test. We should still add a clear delineation of what is happening at every step.
-
We can provide you with production-grade deployment instructions.
-
On transparency:
Transparent: All kubectl commands should be manually run. Currently they are inside scripts, which hide the most critical parts of the workflow. I would strongly prefer a larger number of commands so that I can see each step and it's outcome.
For sure!
https://docs.nativelink.com/deployment/kubernetes does all this now