Clone the repo for .Net Core application PD Tech Fest 2019
Switch to powershell directory and run the deployAll.ps1
script
This sets up the AKS cluster with default 3 nodes and deploys TechTalks application with all its services and dependencies including RabbitMQ, KEDA, TechTalksProducer and TechTalksConsumer.
Clone the repo for Spring Boot application spring-boot-conference-app
Switch to the mssql-server
branch
Run the Powershell script install-prometheus.ps1
from powershell folder
kubectl get crd
Apply manifest files from the following folder k8s
folder
For Spring Boot conference app, apply the manifest files from the k8s/prometheus-config
folder using the command
kubectl apply -R -F .
For TechTalks app, apply the manifest files from the k8s/Prometheus
folder using the same command as above
kubectl port-forward --namespace monitoring svc/prometheus-kube-prometheus-prometheus 9090:9090
kubectl port-forward --namespace monitoring svc/prometheus-kube-prometheus-alertmanager 9093:9093
kubectl --namespace monitoring port-forward svc/prometheus-grafana 80:80
- RabbitMQ : https://grafana.com/grafana/dashboards/10991
- Springboot : https://grafana.com/grafana/dashboards/11955
- .Net core : https://grafana.com/grafana/dashboards/13399
- .Net Core Services : https://grafana.com/grafana/dashboards/12526
- .Net Core Controller Summary : https://grafana.com/grafana/dashboards/10915
http://20.44.227.76:8080/actuator/
http://20.44.227.76:8080/actuator/prometheus
Replace the load balancer IP
for i in `seq 1 3000`; do curl http://20.197.112.18:8080/api/v1/speakers/; done
for i in `seq 1 1500`; do curl http://20.197.112.18:8080/api/v1/sessions/; done
for i in `seq 1 20`; do curl http://20.197.112.18:8080/api/v1/crash/boom; done
20.197.112.18
for ($i =0; $i -lt 10; $i++)
{
Invoke-WebRequest http://20.197.112.18:8080/api/v1/crash/boom
}
http://20.198.210.175/api/TechTalks/Generate?numberOfMessages=5000
kubectl delete -f api-deployment.yml
kubectl apply -f api-deployment.yml