Kubernetes implementation and resources for Tock.
kind is a tool for running local Kubernetes clusters using Docker container “nodes”.
curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/v0.8.1/kind-linux-amd64
chmod +x ./kind
./create-kind-cluster.sh
./start-with-kind.sh
Notice : All data are stored in "tock-mongo-data/" folder All services are deployed with "tock" namespace
kubectl logs -f -l type=mongo
kubectl logs -f -l type=tock-studio
kubectl logs -f -l type=bot-api
./stop-with-kind.sh
./kind delete cluster
Clone this repo then go inside it then run the following command:
helm install my-tock-release charts/tock --namespace my-namespace --create-namespace
To install tock inside tock namespace, you can try this command:
helm install tock charts/tock --namespace tock
To remove things, remove the Helm chart:
helm uninstall -n tock tock
To publish the application with an ingress, use the following values:
---
ingress:
enabled: true
hosts:
- host: tock.domain.name
tls:
- hosts:
- tock.domain.name