Running the Agent with Kubernetes
Juice provides a Helm Chart to install the Juice Agent into your existing Kubernetes cluster. This chart can run your Agents in one of two ways:
Deployment
Runs a deployment with a fixed replica count to determine how many agents to run in the cluster. This can easily be extended with an HPA to dynamically control the number agents.
DaemonSet
Runs a daemonset to start a Juice Agent on every node that has a GPU attached.
Quickstart
- Add the helm repository
helm repo add juicelabs https://juice-labs.github.io/juice
- Create the kubernetes secret with your M2M token
kubectl create secret generic juice-crendentials --from-literal=JUICE_TOKEN=<m2m_token> --from-literal=JUICE_POOL=<juice-pool-id>
- Install the chart
helm install juice juicelabs/agent --set credentials.secretName=juice-credentials
For detailed instructions please see the README and all available options in the values.yaml
Help Improve This Page
Found a mistake? Want to contribute? Edit this page on GitHub or explore more editing options.