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 forroute: 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
andsynchatapi.internal
correspond toEXTERNAL_IP
(edit/etc/hosts
in Debian's case) - Run
$ minikube tunnel -c
and go tohttp://synchat.internal
(accessible) andhttp://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.