-
Notifications
You must be signed in to change notification settings - Fork 125
Local Development
Mike Cutalo edited this page Aug 6, 2020
·
2 revisions
When developing and running locally in docker, clutch depends on the
presence of a kubeconfig to bootstrap its self with Kubernetes clusters to
operate against.
In order to do this, you must mount in a kubeconfig,
the example below shows that we are mounting in our kubeconfig from our home directory.
This is the default path that kubectl uses.
docker run --rm -p 8080:8080 -v ~/.kube/config:/kubeconfig -e KUBECONFIG=/kubeconfig lyft/clutch:latestNote: If your
kubeconfigreferences file paths for information such as a cluster CA, you will also need to mount and adjust those file paths.