You should define where would this run. Our recommendation, use minikube to test it locally.
Use this to monitor the status of the services more comfortably
minikube dashboard
First you should install both memcached and etcd from the Bitnami Helm Chart
The etcd service should be called etcd
and the memcached service my-memcached
, so the GeoService can work properly
kubectl apply -f configmap.yaml
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install etcd bitnami/etcd --set auth.rbac.enabled=false
helm install my-memcached bitnami/memcached
Standing from this project's infra
dir run the next commands
kubectl apply -f geo-service-deployment.yaml
kubectl apply -f auth-service-deployment.yaml
The stock service is the one we are packaging into a helm package. To use it go to
the repo and download the latest package, which should be a .tgz
file.
Then run the next command:
helm install stock ./<path-to-file>/<file-name>.tgz
Or use
kubectl apply -f stock-service-deployment.yaml
kubectl apply -f loadbalancer-service-deployment.yaml
minikube service --url loadbalancer
This will assing the loadbalancer service an external IP and port which you can test
Follow this tutorial
Then use this command
kubectl get deploy -o yaml | linkerd inject - | kubectl apply -f -