-
Notifications
You must be signed in to change notification settings - Fork 54
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
Page about monitoring Kubernetes with Sensu #3292
Conversation
Capturing some notes from a discussion w/ @jspaleta here... It sounds like we need to organize this content to address one or more of the following three topics (in priority order):
If we cover topic number 1 above, I think that would make a sufficient MVP here. The second topic may require additional effort. |
Content removed from the draft (adding here so I don't have to dig back through commits later): Use the Sensu catalog of Kubernetes health and metrics checksKubelet host metrics collectionPrometheus can collect and analyze data on your Kubernetes deployment, but the data model is constrained: data must be represented as a measurement and can lack context as a result, and exporters provide only summarized data and scrape only periodically. Sensu's [kubelet host metrics collection][10] monitor allows you to collect host metrics, including for [kubelet][20] hosts, with the [Prometheus Node Exporter][11]. Learn more about using Sensu with Prometheus to monitor Kubernetes in [Monitoring Kubernetes + Docker, part 3: Sensu + Prometheus][5]. Kubelet monitorThe Sensu [Kubelet monitor][12] includes both health and metrics checks:
The metrics checks collect metrics but do not provide alerts. The Sensu kubelet monitor health checks and metrics collectors rely on [kubelet][20] metrics and cAdvisor as data sources. Kubelet metrics provide data for the Kubernetes nodes and the jobs they run. The built-in kubelet cAdvisor collects, aggregates, processes, and exports metrics for each running container. Kubernetes cluster metricsThe [Kubernetes cluster metrics][18] monitor collects kubelet metrics from the [metrics-server][23] API. Kubernetes cluster metrics requires [kube-state-metrics][24], which listens to the Kubernetes API server and provides high-level information about a Kubernetes cluster. Kubernetes cluster metrics collects metrics but does not provide alerts. Sensu Kubernetes Events Check{{% notice note %}} The [Sensu Kubernetes Events Check][25] is an Sensu Check that uses the [Kubernetes Event API][26] to identify events that should generate corresponding Sensu events. Use our curated, configurable [quick-start template][27] to get started with the Sensu Kubernetes Events Check plugin and integrate Sensu with your existing workflows. Read [Filling gaps in Kubernetes observability with the Sensu Kubernetes Events integration][8] for more information about the Kubernetes Events API and the Sensu Kubernetes Events Check integration. Links: https://github.com/prometheus/node_exporter |
Also removed: From sidecar section |
@jspaleta I updated the draft to fit the MVP description in item 1. in Caleb's comment. |
On hold pending Sensu Catalogs work |
Description
Adds a resource page for monitoring Kubernetes with Sensu, which covers Kubernetes data sources, Sensu + Prometheus for monitoring Kubernetes, the recommended approach (sidecar), and existing Kubernetes integrations (from Bonsai).
Links to Sensu resources with more information, like blog posts and whitepapers.
Motivation and Context
Closes #3256