Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.31 KB

README.md

File metadata and controls

71 lines (48 loc) · 1.31 KB

tock-k8s

Kubernetes implementation and resources for Tock.

Deploying Tock Studio on localhost with kind

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

Logs

kubectl logs -f -l type=mongo
kubectl logs -f -l type=tock-studio
kubectl logs -f -l type=bot-api

Stopping TOCK STUDIO

./stop-with-kind.sh

Destroy your kind cluster

./kind delete cluster

Deploy Tock with Helm chart

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