--- name: Develop multiple services in Kubernetes description: Get started with Kubernetes development. tags: [cloud, kubernetes] --- # Authentication This template has several ways to authenticate to a Kubernetes cluster. ## kubeconfig (Coder host) If the Coder host has a local `~/.kube/config`, this can be used to authenticate with Coder. Make sure this is on the same user running the `coder` service. ## ServiceAccount Create a ServiceAccount and role on your cluster to authenticate your template with Coder. 1. Run the following command on a device with Kubernetes context: ```sh CODER_NAMESPACE=default kubectl apply -n $CODER_NAMESPACE -f - <