Remote K8s Plugin Configuration
Last updated
Last updated
To use the (remote) kubernetes
plugin, you'll need the following:
A Kubernetes cluster.
Permissions to create namespaces and to create deployments, daemonsets, services and ingresses within the namespaces created.
A container registry that Garden can push images to and that your cluster can pull images from.
Ingress and DNS set up.
The following pages walk you through setting these up step-by-step, but feel free to skip over the steps you don't need.
Also note that there are a lot of ways to create these resources so feel free to use whatever approach you find most useful.
At the end of these steps, you should have the following values at hand:
The context for your Kubernetes cluster ().
The name(s) and namespace(s) of the ImagePullSecret(s) used by your cluster ().
The hostname for your services ().
A TLS secret (optional) ().
You will use these when configuring the kubernetes
plugin. The configuration will look something like this: