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
.yamlfiles to the cluster:$ minikube start && kubectl apply -f . - Run
$ minikube tunnel -cand find out to what IP minikube tunnels the traffic: looking forroute: 10.96.0.0/12 -> EXTERNAL_IPin the output, you can stop the tunnelling after that - Edit your DNS configuration so that
synchat.internalandsynchatapi.internalcorrespond toEXTERNAL_IP(edit/etc/hostsin Debian's case) - Run
$ minikube tunnel -cand go tohttp://synchat.internal(accessible) andhttp://synchatapi.internal(should return 404 but/healthzendpoint should return 200) - Visit
http://synchat.internaland type '/stats' in message field to ensure that API can communicate with Crawler application.