kubernetes-mixin
sjsonnet
Our great sponsors
kubernetes-mixin | sjsonnet | |
---|---|---|
9 | 2 | |
1,983 | 253 | |
1.2% | 0.4% | |
7.7 | 6.9 | |
11 days ago | about 1 month ago | |
Jsonnet | Scala | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kubernetes-mixin
-
Do we have any Prometheus metric to get the kubernetes cluster-level CPU/Memory requests/limits?
I'd suggest looking at the queries used by the kubernetes mixin dashboards for inspiration.
-
How do you set up Grafana alert for your cluster? Which mixins library?
Came across this lib, but realized the last update was 4 years ago.
-
I need to create an alerting setup for kubernetes nodes cpu utilisation. Can someone give some alerting queries to set it up?
Take a look at the kubernetes mixins to get an idea and/or starting point
-
How to Monitor your k8s Persistent Volume Usage
The last step is to use the Mixin dashboard to visualize the usage of PV, you can get it from here
-
How to silence Prometheus Alertmanager using config files?
It's working good so far, except for the annoying CPUThrottlingHigh alert that is firing for many pods (including the own Prometheus' config-reloaders containers). This alert is currently under discussion, and I want to silence its notifications for now.
-
The Dhall Configuration Language
I think it might still have issues figuring out that it needs to apply CRDs first: https://github.com/grafana/tanka/issues/246 Besides that, I found it super-handy for deploying https://github.com/prometheus-operator/prometheus-operator and https://github.com/kubernetes-monitoring/kubernetes-mixin
- Kubernetes Monitoring
-
Prometheus Definitive Guide Part III - Prometheus Operator
These all standard dashboards are basically generated from the kubernetes-mixin project.
-
What is the ultimate list of alerts when monitoring an on-premise k8s cluster?
I would suggest looking at the Kubernetes Mixin: https://github.com/kubernetes-monitoring/kubernetes-mixin, it has both alerts and Grafana dashboards.
sjsonnet
-
The Dhall Configuration Language
> jsonnet seemed like a great idea to me, but I've experienced extremely low performance.
Although each implementation of jsonnet has some quirks, take a look at (scala-based) sjsonnet^1 or go-jsonnet^2 for improved performance. We use go-jsonnet because of some issues we had with the scala version - but it does seem to be the fastest by a large margin.
There's also a Rust version^3 that claims to be the fastest yet^4, but I haven't experimented with it at all.
[1]: https://github.com/databricks/sjsonnet
[2]: https://github.com/google/go-jsonnet/
[3]: https://github.com/CertainLach/jrsonnet
[4]: https://gist.github.com/CertainLach/5770d7ad4836066f8e0bd91e...
-
Template engines / expression languages for YAML?
Check out Jsonnet, specifically this Scala implementation. I'm currently generating a lot of OpenAPI YAML using it, and couldn't be happier.
What are some alternatives?
charts - ⚠️(OBSOLETE) Curated applications for Kubernetes
circe-yaml - YAML parser for circe using SnakeYAML
prometheus-operator - Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes
jrsonnet - Rust implementation of Jsonnet language
helm-charts - Prometheus community Helm charts
dhall-aws-cloudformation - Typecheck, template and modularize your AWS CloudFormation with Dhall
prometheus - The Prometheus monitoring system and time series database.
skycfg - Skycfg is an extension library for the Starlark language that adds support for constructing Protocol Buffer messages.
octoDNS - Tools for managing DNS across multiple providers
go-jsonnet
dhall-kubernetes - Typecheck, template and modularize your Kubernetes definitions with Dhall