Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Kube state metrics #169

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Added Kube state metrics #169

merged 1 commit into from
Feb 29, 2024

Conversation

temitope777
Copy link
Contributor

Trello Card:
https://trello.com/c/NHmSbfNc/929-configure-kube-state-metrics

Context

Added Kube state metrics which is an important component of monitoring

Changes proposed in this pull request

added the terraform resources that will provision kube state metrics

Guidance to review

make development terraform-kubernetes-apply ENVIRONMENT=cluster3
kubectl port-forward -n kube-system service/kube-state-metrics 8080:8080
curl localhost:8080/metrics

kubectl port-forward -n kube-system service/kube-state-metrics 8081:8081
curl localhost:8081/telemetry

@temitope777
Copy link
Contributor Author

@RMcVelia
Copy link
Collaborator

cluster3 deployment is showing errors that will need to be addressed

@temitope777 temitope777 force-pushed the feature/kube-state-metrics branch from 847a7a8 to 0916c4a Compare February 26, 2024 17:06
@RMcVelia
Copy link
Collaborator

Please also update the documentation/monitoring.md file

@temitope777 temitope777 force-pushed the feature/kube-state-metrics branch 3 times, most recently from c529189 to 9808318 Compare February 27, 2024 16:50
@RMcVelia
Copy link
Collaborator

prometheus itself is not scraping the kube-state-metrics as it's looking at the wrong url. Need to update in env.prometheus.yml

@temitope777 temitope777 force-pushed the feature/kube-state-metrics branch 4 times, most recently from 83e27d3 to 66c41b5 Compare February 29, 2024 16:02
WHY: Kube state metrics is one of the important component of monitoring
HOW: By adding  kube metrics resources
@temitope777 temitope777 force-pushed the feature/kube-state-metrics branch from ddaaa1f to 384aca6 Compare February 29, 2024 16:18
@temitope777 temitope777 merged commit f7147dd into main Feb 29, 2024
4 checks passed
@temitope777 temitope777 deleted the feature/kube-state-metrics branch February 29, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants