MCPcopy
hub / github.com/grafana/tanka

github.com/grafana/tanka @v0.37.5 sqlite

repository ↗ · DeepWiki ↗ · release v0.37.5 ↗
2,575 symbols 7,203 edges 148 files 1,720 documented · 67%
README

Grafana Tanka Logo

Website · Installation · Tutorial

Grafana Tanka

The clean, concise and super flexible alternative to YAML for your Kubernetes cluster

  • :boom: Clean: The Jsonnet language expresses your apps more obviously than YAML ever did
  • :books: Reusable: Build libraries, import them anytime and even share them on GitHub!
  • :pushpin: Concise: Using the Kubernetes library and abstraction, you will never see boilerplate again!
  • :dart: Confidence: Stop guessing and use tk diff to see what exactly will happen
  • :telescope: Helm: Vendor in, modify, and export Helm charts reproducibly
  • :rocket: Production ready: Tanka deploys Grafana Cloud and many more production setups

Let's kill some YAML together  ▶

:rocket: Getting started

To get started, install Tanka first, and then follow the tutorial. This should get you on track quickly.

:busts_in_silhouette: Community

There are several places to connect with the Tanka community:

Please don't ask individual project members or open GitHub issues for support requests. Use one of the above channels so everyone in the community can participate.

Furthermore, see LICENSE and GOVERNANCE.

:book: 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.

:pencil: License

Tanka is an open-source project :heart:. It is free as in beer and as in speech and this will never change.

Licensed under Apache 2.0, see LICENSE.

Extension points exported contracts — how you extend this code

GraphQLMarshaller (Interface)
GraphQLMarshaller is an internal interface for marshalling an object into GraphQL. [64 implementers]
dagger/internal/querybuilder/marshal.go
Kustomize (Interface)
Kustomize provides high level access to some Kustomize operations [3 implementers]
pkg/kustomize/kustomize.go
Loader (Interface)
Loader is an abstraction over the process of loading Environments [2 implementers]
pkg/tanka/load.go
Helm (Interface)
Helm provides high level access to some Helm operations [2 implementers]
pkg/helm/helm.go
JsonnetEvaluator (Interface)
JsonnetEvaluator represents a struct that can evaluate Jsonnet code It is configured with import paths, external code an [2 …
pkg/jsonnet/implementations/types/types.go
Client (Interface)
Client for working with Kubernetes [1 implementers]
pkg/kubernetes/client/client.go
Matcher (Interface)
Matcher is a single filter expression. The passed argument of Matcher is of the form `kind/name` (manifest.KindName()) [1 …
pkg/process/filter.go
ExtendedError (Interface)
ExtendedError is an error that can provide extra data in an error response. [2 implementers]
dagger/internal/telemetry/span.go

Core symbols most depended-on inside this repo

Select
called by 807
dagger/internal/querybuilder/querybuilder.go
Arg
called by 716
dagger/internal/querybuilder/querybuilder.go
Execute
called by 323
dagger/internal/querybuilder/querybuilder.go
Bind
called by 314
dagger/internal/querybuilder/querybuilder.go
Flags
called by 85
pkg/helm/template.go
String
called by 61
pkg/helm/spec.go
Root
called by 59
dagger/internal/querybuilder/querybuilder.go
Metadata
called by 44
pkg/kubernetes/manifest/manifest.go

Shape

Method 1,592
Function 502
Struct 326
TypeAlias 104
FuncType 30
Interface 19
Class 2

Languages

Go100%
TypeScript1%

Modules by API surface

dagger/internal/dagger/dagger.gen.go1,649 symbols
dagger/internal/telemetry/transform.go93 symbols
pkg/kubernetes/manifest/manifest.go30 symbols
pkg/jsonnet/native/funcs_test.go24 symbols
dagger/internal/dagger/k-3-s.gen.go23 symbols
pkg/helm/helm.go19 symbols
pkg/tanka/load.go18 symbols
pkg/helm/charts.go17 symbols
pkg/tanka/workflow.go16 symbols
pkg/process/filter.go16 symbols
pkg/kubernetes/client/client.go16 symbols
dagger/internal/telemetry/logging.go16 symbols

Dependencies from manifests, versioned

dario.cat/mergov1.0.2 · 1×
github.com/Khan/genqlientv0.8.1 · 1×
github.com/Masterminds/goutilsv1.1.1 · 1×
github.com/Masterminds/semverv1.5.0 · 1×
github.com/Masterminds/semver/v3v3.5.0 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/dagger/otel-gov1.41.0 · 1×
github.com/dagger/querybuilderv0.0.0-2026040204050 · 1×
github.com/davecgh/go-spewv1.1.2-0.20180830191 · 1×

For agents

$ claude mcp add tanka \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact