Grafana Tanka - Kubernetes的灵活,可重用和简洁的配置
它利用Jsonnet语言来实现灵活,可重用和简洁的配置。
Go 其它杂项
共1032Star
详细介绍
Grafana Tanka
Tanka is a composable configuration utility for Kubernetes. It leverages the Jsonnet language to realize flexible, reusable and concise configuration.
Highlights
-
🔧 Flexible: The Jsonnet data templating language gives us much smarter ways to express our Kubernetes configuration than YAML does. -
📚 Reusable: Code can be refactored into libraries, they can be imported wherever you like and even shared on GitHub! -
📌 Concise: Using the Kubernetes library and abstraction, you will never see boilerplate again! -
🎯 Work with confidence:tk diff
allows to check all changes before they will be applied andtk apply
makes sure you always select the correct cluster. Stop guessing and make sure it's all good. -
🚀 Used in production: While still a very young project, Tanka is used internally at Grafana Labs for all of their Kubernetes configuration needs. -
❤️ Fully open source: This is an open-source project. It is free as in beer and as in speech and this will never change.
Getting started
To get started, install Tanka first, and then follow the tutorial. This should get you on track quickly.
Additional resources
- https://jsonnet.org/, the official Jsonnet documentation provides lots of examples on how to use the language.
- https://github.com/grafana/jsonnet-libs: Grafana Labs' Jsonnet libraries are a rich set of configuration examples compatible with Tanka.
License
Licensed Apache 2.0, see LICENSE.