Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 1.24 KB

README.md

File metadata and controls

10 lines (10 loc) · 1.24 KB

Impending Kubernetes

This k8s cluster (using minikube) allows to interact with Synergy chat microservice application

In order to run this cluster do the following:

  • Clone this repository: $ git clone https://github.com/chrxn1c/impending_k8s.git && cd impending_k8s
  • Make sure docker and minikube are installed on your system (docker_docs minikube_docs)
  • Start the minikube cluster and apply all .yaml files to the cluster: $ minikube start && kubectl apply -f .
  • Run $ minikube tunnel -c and find out to what IP minikube tunnels the traffic: looking for route: 10.96.0.0/12 -> EXTERNAL_IP in the output, you can stop the tunnelling after that
  • Edit your DNS configuration so that synchat.internal and synchatapi.internal correspond to EXTERNAL_IP (edit /etc/hosts in Debian's case)
  • Run $ minikube tunnel -c and go to http://synchat.internal (accessible) and http://synchatapi.internal (should return 404 but /healthz endpoint should return 200)
  • Visit http://synchat.internal and type '/stats' in message field to ensure that API can communicate with Crawler application.