Kubernetes
How to install Glide into a Kubernetes Cluster
EinStack provides you with an official flexible Helm chart to install Glide into a Kubernetes cluster.
Before moving on, please make sure you have Helm CLI and kubectl installed locally.
Add EinStack chart repository
Create a Kubernetes Secret
Before installing the Helm chart, you need to create a Kubernetes secret with your API keys like:
By default, Glide’s chart comes with a configuration that contains one language router with one OpenAI model that requires to put API key under the OPENAI_API_KEY
environment variable.
Use the Secret
Then, you need to create a custom values.yaml
file to override the secret name like:
Deploy Glide's chart 🚀
Finally, you should be able to install Glide’s chart via:
Please make sure your kubectl context is pointing to the right cluster and authenticated to do the deployment.
Once the deployment is done, you should be able to see a new glide-gateway
deployment and corresponding pods in the namespace you used during the deployment.