Kubernetes Deployment
Helm charts are provided for reference only, and are not officially supported. If you encounter issues, please feel free to submit a pull request to improve the documentation or the charts.
Installation Prerequisites
Install kubctl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectlFor instructions for your OS, see the kubernetes docs
Install minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
sudo dpkg -i minikube_latest_amd64.debFor instructions for your OS, see the minikube docs
Install helm
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.shFor instructions for your OS, see the helm docs
Start the app
Start Kubernetes
minikube startAdd the Helm repository
helm repo add domain-locker https://lissy93.github.io/domain-locker/helmInstall the chart
helm install dl domain-locker/domain-locker --version 0.0.8Verify it's running
kubectl get allPort forward to access
kubectl port-forward svc/domain-locker-app 3000:80Launch the app
You should now be able to access Domain Locker at localhost:3000 🎉
Debug
You can check the app is running with:
kubectl get pods
kubectl get svcAnd view the logs with:
kubectl logs deploy/domain-locker-appOr open a debug shell with:
kubectl exec -it deploy/domain-locker-app -- shManually connect to the database:
psql -h domain-locker-postgres -U postgres -d domain_locker
Manual Installation
You can also manually add the repo, from the source.
This is useful if you want to make any changes, or want to maintain your own fork.
The source for the helm charts is in the helm directory.
git clone [email protected]:Lissy93/domain-locker.git
cd domain-locker
helm install dl ./helm