This a Simple Web application using lightweight Kubernetes k3
Configuration & Setup steps are as below :
- Here I have provisioned two EC2 Instances i.e. app server & dev server
- Have configured CI/CD platform like Jenkins
- Have successfully configured Kubernetes K3 for managing containerized application
- Configuring Github Webhook to automatically trigger a build on every push to main branch
- App is successfully tested & TestNg Report is successfully generated in the Jenkins workspace
- Web application successfully deployed on app server & running on port 8082 in aws
- Node Exporter is successfully configured & running on port 9100 on app-server which we have to monitor
- Metrics is also accessible under node exporter
- C-advisor is successfully up & running on port 8084 on app server
- Prometheus is successfully configured & running on port 9090 on dev server
- Prometheus as target is successfully configured on dev server
- C-advisor , node exporter & Prometheus as target is successfully configured , up & running on dev server
- Successfully configured Grafana on port 3000 on dev server
14 . Configuring Prometheus server URL under Grafana on dev server
- Copying Kubernetes nodes dashboard ID for visualing a dashboard in grafana from grafana.com/grafana/dashboards
- Successfully imported & visualized dashboard in grafana
- Creating alert rule
- Setting alert rule name
- Alert created successfully
- Alert is firing successfully
- Configuring Notification policies here
22 . Configuring Contact points to get alert on email