Comment on page
Remote K8s Plugin Configuration
To use the (remote)
kubernetesplugin, 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:
You will use these when configuring the
kubernetesplugin. The configuration will look something like this:
- name: remote
hostname: <THE HOSTNAME FROM STEP 3>
- name: kubernetes
- name: <THE IMAGE PULL SECRET FROM STEP 2>
namespace: <THE IMAGE PULL SECRET NAMESPACE FROM STEP 2>
hostname: <THE REGISTRY HOSTNAME CONFIGURED IN STEP 2>
namespace: <THE REGISTRY NAMESPACE CONFIGURED IN STEP 2>
context: <THE KUBE CONTEXT FROM STEP 1>
defaultHostname: <THE HOSTNAME FROM STEP 3>