SOCK SHOP MICROSERVICES APP
PLEASE REFER TO THIS FOLDER FOR THE SECOND APP: PORTFOLIO APP
Stacks:- GCP provider
- Docker
- Kubernetes (GKE)
- Prometheus as a monitoring tool.
- Terraform as the configuration management tool.
live load balanced url for the sock shop microservice http://altschool.ugwulo.me
live url for Prometheus deployment
I couldn't deploy the Grafana pod because of limited resources and excessive billing for spinning up enough instances in GCP
- Setup terraform on your local machine
- Setup Google cloud sdk
- a Google service account is created by terraform in the node_pools.tf file
- This will generate a private key tha we'll use to connect to GCP
- Go ahead and run terraform apply to create your GKE cluster
sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
- Clone the microservices-demo repository
- CD into the deploy/kubernetes folder then run the following
- change the default context to sock-shop
- deploy the manifest files
- describe the front-end pod
- wait for the external IP to be allocated then copy it and test
kubectl create namespace sock-shop
kubectl config set-context --current --namespace=sock-shop
kubectl apply -f complete-demo.yaml
kubectl describe pod *"service-name"*
kubectl get svc
PLEASE REFER TO THIS FOLDER FOR THE SECOND APP: PORTFOLIO APP


