A local kubernetes test cluster, using k3d
Start a local k3d (k3s in docker) based kubernetes cluster running CDF services. Services included:
- local service (the emulater primary mysql database, some cloud emulators)
- redis
- [?] ambassador
- [?] api-auth
- ratelimiting
- backend services?
- make sure you have k3d installed: https://github.com/rancher/k3d
- make sure you are logged in to a gcloud account that can pull images from the cognite gcr
- run:
$ ./setup.sh
If you're adding a new service that needs to pull an image from gcr, don't forget to add
imagePullSecrets:
- name: registry-secret
under the container spec.