Skip to content

Kubernetes implementation and resources for Tock.

License

Notifications You must be signed in to change notification settings

AIOS-SH/tock-k8s

 
 

Repository files navigation

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

About

Kubernetes implementation and resources for Tock.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.9%
  • Smarty 33.5%
  • Makefile 3.6%