-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
2021-03-31-kube-state-metrics-goes-v-2-0.md: Add kube-state-metrics 2.0 #27324
Conversation
Deploy preview for kubernetes-io-master-staging ready! Built with commit 211187a https://deploy-preview-27324--kubernetes-io-master-staging.netlify.app |
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lilic - I've reviewed this as best I can and I hope the feedback helps.
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
|
||
## Why? | ||
|
||
After deploying kube-state-metrics it provides you with an array of useful metrics about the state of your cluster out of the box! These metrics can be used to serve as an insight into your cluster: Either through metrics alone, in the form of dashboards, or through an alerting pipeline. They can especially be useful to troubleshoot an outage. A metric worth pointing out is `kube_pod_container_status_restarts_total` which can be used to alert you on a crashing pod. Another helpful metric is `kube_deployment_status_replicas` which together with `kube_deployment_status_replicas_available` can be used to alert on whether a deployment is rolled out successfully or stuck. And there are many more metrics available! If you are interested in further metrics and their details, check out the [documentation](https://github.com/kubernetes/kube-state-metrics/tree/master/docs#readme). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After deploying kube-state-metrics it provides you with an array of useful metrics about the state of your cluster out of the box! These metrics can be used to serve as an insight into your cluster: Either through metrics alone, in the form of dashboards, or through an alerting pipeline. They can especially be useful to troubleshoot an outage. A metric worth pointing out is `kube_pod_container_status_restarts_total` which can be used to alert you on a crashing pod. Another helpful metric is `kube_deployment_status_replicas` which together with `kube_deployment_status_replicas_available` can be used to alert on whether a deployment is rolled out successfully or stuck. And there are many more metrics available! If you are interested in further metrics and their details, check out the [documentation](https://github.com/kubernetes/kube-state-metrics/tree/master/docs#readme). | |
`kube-state-metrics` provides you with a wide range of useful metrics about the state of your Kubernetes cluster out of the box! These metrics can be used to serve as an insight into your cluster: Either through metrics alone, in the form of dashboards, or through an alerting pipeline. They can especially be useful to troubleshoot an outage. To provide a few examples: | |
i) `kube_pod_container_status_restarts_total` can be used to alert on a crashing pod. | |
ii)`kube_deployment_status_replicas` which together with `kube_deployment_status_replicas_available` can be used to alert on whether a deployment is rolled out successfully or stuck. | |
And there are many more metrics available at your disposal! To learn more about the other metrics and their details, please check out the [documentation](https://github.com/kubernetes/kube-state-metrics/tree/master/docs#readme). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like that the start of the sentence isn't kube-state-metrics
, if you can suggest another way, I would prefer to go that way, if that's okay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe A wide range of useful metrics about the state of your Kubernetes cluster is provided by `kube-state-metrics` out of the box!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do like the breakout format of the examples - for the intro piece I and was thinking something along the same lines as @mrueg .
"There are numerous useful metrics and insights provided by kube-state-metrics
right out of the box!"
EDIT: not a blocker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks all! I added also another example as two is not a nice number :D
Please have another look, I addressed the changes and removed the full list of the CHANGELOG and instead linked to it. |
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
ebcce99
to
7157294
Compare
I also opened kubernetes/kube-state-metrics#1449 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Needs a confirmed release date.
content/en/blog/_posts/2021-03-31-kube-state-metrics-goes-v-2-0.md
Outdated
Show resolved
Hide resolved
Things look good :) @lilic can you update the address of the filename to be tomorrow's date? |
blog post announcement.
@mrbobbytables done, thanks! |
/lgtm |
LGTM label has been added. Git tree hash: 81fea6c8f44d71e1d5a75eda49e91848c217c1de
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mrbobbytables, mrueg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel 🎉 Thank you all! |
Add kube-state-metrics 2.0 blog post announcement. As kube-state-metrics v2.0.0 is going to be released next week, (unless any bugs are reported - we have v2.0.0-rc.1 out), we wanted to have a blog post that accompanies this, as we had a bunch of user breaking changes.
/hold
I put it on hold until kube-state-metrics v2.0.0 is out, but wanted to open the PR so folks can review, the other maintainers already had a look, but are cc-ed below.
@mrueg @brancz @tariq1890