kubernetes-mixin
tanka
Our great sponsors
kubernetes-mixin | tanka | |
---|---|---|
9 | 25 | |
1,983 | 2,199 | |
1.2% | 1.6% | |
7.7 | 8.4 | |
10 days ago | 11 days ago | |
Jsonnet | Go | |
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.
tanka
-
Why the fuck are we templating YAML? (2019)
I would recommend implementing a similar API to Grafana Tanka: https://tanka.dev
When you "synthesise", the returned value should be an array or an object.
1. If it's an object, check if it has an `apiVersion` and `kind` key. If it does, yield that as a kubernetes object and do not recurse.
-
What Is Wrong with TOML?
Maybe you'd like jsonnet: https://jsonnet.org/
I find it particularly useful for configurations that often have repeated boilerplate, like ansible playbooks or deploying a bunch of "similar-but" services to kubernetes (with https://tanka.dev).
Dhall is also quite interesting, with some tradeoffs: https://dhall-lang.org/
A few years ago I did a small comparison by re-implementing one of my simpler ansible playbooks: https://github.com/retzkek/ansible-dhall-jsonnet
-
Show HN: Keep – GitHub Actions for your monitoring tools
- validation is often impractical (at least identifying exactly where the error is… I’m looking at you Helm!)
Unrelated to OP, but you can leverage Tanka to extend helm charts with functionality not provided by upstream.
-
Alternatives to Helm?
Although jsonette might be considered more complex Tanka is a great alternative for k8s config management.
- Helm makes it overly complex, or is it just me?
-
The YAML Document from Hell
At Grafana Labs we're using jsonnet at scale, while being a powerful functional language it is also excellent for rendering JSON/YAML config. We have developed Tanka[0] to work with Kubernetes, for other purposes I can recommend this course[1] (authored by me).
-
Should i migrate from Kustomize to Helm?
If you're hitting the limits of Kustomize, maybe look at Tanka as well.
-
Is it possible to wrap Kustomize yaml with jinja2?
Yes, try Tanka.
-
Using Docker – Compose in Development and Production
yes. basically. and this is a path that multiple people are trying to solve. e.g. AWS CDK8s, https://tanka.dev/, etc
Compose would be awesome.
-
Google Kubernetes clusters config checker tool
http://tanka.dev
(Note I work for Grafana Labs who fund Tanka and use it for all production config)
What are some alternatives?
charts - ⚠️(OBSOLETE) Curated applications for Kubernetes
helm-charts - Prometheus community Helm charts
prometheus-operator - Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes
kustomize - Customization of kubernetes YAML configurations
kapitan - Generic templated configuration management for Kubernetes, Terraform and other things
prometheus - The Prometheus monitoring system and time series database.
ytt - YAML templating tool that works on YAML structure instead of text
octoDNS - Tools for managing DNS across multiple providers
kpt - Automate Kubernetes Configuration Editing
jrsonnet - Rust implementation of Jsonnet language
Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀