Developer Setup with local Kubernetes Cluster¶
You can install a local kubernetes cluster with kind:
Add go/bin folder to your path. For example export PATH="$HOME/go/bin:$PATH"
Create the kubernetes cluster like this
A tested config can be found at https://github.com/Visual-Analytics-Toolbox/Core-Infrastructure/blob/main/kind/kind-config.yamlBy default you can't pull our images from github. You need to be added to the Visual Analytics Org first and then create a Personal Access Token and add this to the cluster.
kubectl create secret docker-registry github-access \
--docker-server=ghcr.io \
--docker-username=YOUR_GITHUB_USERNAME \
--docker-password=ghp_YOUR_TOKEN_HERE
kubectl patch serviceaccount default \
-p '{"imagePullSecrets": [{"name": "github-access"}]}' \
--namespace=default
The script to deploy all helm charts needed for local deployment are in the Deployments repo: https://github.com/Visual-Analytics-Toolbox/VAT-Deployments After all helm charts are installed you can access django by exposing the service at 127.0.0.1:8080: