Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, apt, dnf, zypper 安装 tanka

查看 tanka 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tanka

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tanka

MacPorts ports tree · sysutils/tanka/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add tanka

Alpine Linux edge package indexes · tanka · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#tanka

nixpkgs package indexes · pkgs/by-name/ta/tanka/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S tanka

Arch Linux sync databases · tanka · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install tk

Debian stable package indexes · tk · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install tk

Fedora Rawhide package metadata · tk · 来源: dl.fedoraproject.org

openSUSE zypper已验证 · 92%
sudo zypper install tk

openSUSE Tumbleweed package metadata · tk · 来源: download.opensuse.org

概览

软件包摘要

Flexible, reusable and concise configuration for Kubernetes using Jsonnet

历史

项目历史与用法

Grafana Tanka is Grafana Labs' Jsonnet-powered Kubernetes configuration utility, shipped as the `tk` CLI. It is a package-manager-culture project because it turns Kubernetes YAML management into a reproducible local toolchain built around Jsonnet, Jsonnet Bundler, `kubectl`, and optional Helm support.

项目历史

The official repository begins on 2019-07-17 with an initial feature set, and the first observed release tag, v0.1.0, is dated 2019-07-31. The official site presents Tanka as a robust configuration utility for Kubernetes powered by Jsonnet, with reuse, libraries, diffing, and open-source Grafana ecosystem positioning as central themes.

采用历史

The installation docs describe Tanka as a single binary called `tk`, available through Homebrew on macOS, AUR packages on Arch Linux, GitHub release binaries, and Go installation. The docs also recommend Jsonnet Bundler because Tanka uses it by default, tying Tanka adoption to the wider Jsonnet package-management workflow.

使用方式

Tanka projects organize Kubernetes configuration into environments containing `spec.json` and `main.jsonnet`, with dependencies tracked by Jsonnet Bundler files. The tutorial frames the workflow as replacing direct `kubectl` YAML deployment with Jsonnet-based parameterization, abstraction, environment separation, and reusable libraries.

为什么软件包爱好者会关心

Tanka is significant for package nerds because it sits at the intersection of Kubernetes manifests and language-style dependency management. It made Jsonnet libraries, vendored dependencies, generated YAML, and `tk diff` part of a package-managed Kubernetes operator workflow, especially for Grafana-adjacent infrastructure.

时间线

  • 2019-07-17: First commit in the official Git repository.
  • 2019-07-31: First observed release tag, v0.1.0.
  • 2026-06-23: Latest observed tag and Homebrew stable version are v0.37.4.

Related projects

  • Tanka is related to Kubernetes, Jsonnet, Jsonnet Bundler, Grafana jsonnet-libs, Helm, Kustomize support, and `kubectl`.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:kubernetes

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
environments/<name>/spec.jsonenvironments/<name>/main.jsonnetjsonnetfile.jsonjsonnetfile.lock.jsontkrc.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tkcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本0.38.0
管理器更新时间2026-07-16
本地数据OK
上游当前
检测到的最新版本v0.38.0

https://github.com/grafana/tanka

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:tanka
版本0.38.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/tanka
主页https://tanka.dev
仓库https://github.com/grafana/tanka
上游文档https://tanka.dev/
许可证Apache-2.0
源码归档https://github.com/grafana/tanka/archive/refs/tags/v0.38.0.tar.gz
最后更新2026-07-16T12:39:18Z
Pulseupdated
依赖kubernetes-cli
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametanka
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

tanka

nix profile install nixpkgs#tanka
  • normalized package name match
  • 匹配方式:Tanka
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ta/tanka/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

tanka 0.35.0-r6

Flexible, reusable and concise configuration for Kubernetes

https://tanka.dev

sudo apk add tanka
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tanka
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tanka
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tanka from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

tanka 0.36.3-2

Flexible, reusable and concise configuration for Kubernetes

https://github.com/grafana/tanka

sudo pacman -S tanka
  • License: Apache
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Tanka
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tanka from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

tanka

sudo port install tanka
  • normalized package name match
  • 匹配方式:Tanka
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/tanka/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

tk

sudo port install tk
  • installed executable or alias match
  • 匹配方式:Tk
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/tk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

tk 8.6.16

Toolkit for Tcl and X11 (default version) - windowing shell

sudo apt install tk
  • Section: interpreters
  • Architecture: amd64
  • Source Package: tcltk-defaults
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

tk

nix profile install nixpkgs#tk
  • installed executable or alias match
  • 匹配方式:Tk
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: tk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt92%

tk 8.6.14build1

Toolkit for Tcl and X11 (default version) - windowing shell

sudo apt install tk
  • Section: libs
  • Architecture: amd64
  • Source Package: tcltk-defaults
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tk from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk92%

tk 8.6.17-r1

GUI toolkit for the Tcl scripting language

https://www.tcl-lang.org/

sudo apk add tk
  • License: TCL
  • Architecture: x86_64
  • Source Package: tk
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tk from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

tk-dev 8.6.17-r1

GUI toolkit for the Tcl scripting language (development files)

https://www.tcl-lang.org/

sudo apk add tk-dev
  • License: TCL
  • Architecture: x86_64
  • Source Package: tk
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tk-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

tk-doc 8.6.17-r1

GUI toolkit for the Tcl scripting language (documentation)

https://www.tcl-lang.org/

sudo apk add tk-doc
  • License: TCL
  • Architecture: x86_64
  • Source Package: tk
  • installed executable or alias match
  • 匹配方式:Tk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf92%

tk 9.0.3-1.fc45

The graphical toolkit for the Tcl scripting language

http://tcl.sourceforge.net

sudo dnf install tk
  • License: TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tk
  • 10 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式:Tk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

tk-devel 9.0.3-1.fc45

Tk graphical toolkit development files

http://tcl.sourceforge.net

sudo dnf install tk-devel
  • License: TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tk
  • 6 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Tk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

tk 8.6.16-1

A windowing toolkit for use with tcl

http://tcl.sourceforge.net/

sudo pacman -S tk
  • License: TCL
  • Architecture: x86_64
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Tk
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

tk 8.6.18-1.1

Graphical User Interface Toolkit for Tcl

http://www.tcl.tk

sudo zypper install tk
  • License: TCL
  • Category: Development/Languages/Tcl
  • Architecture: x86_64
  • Source Package: tk
  • 10 依赖
  • 5 提供
  • installed executable or alias match
  • 匹配方式:Tk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

tk-32bit 8.6.18-1.1

Graphical User Interface Toolkit for Tcl

http://www.tcl.tk

sudo zypper install tk-32bit
  • License: TCL
  • Category: Development/Languages/Tcl
  • Architecture: x86_64
  • Source Package: tk
  • 6 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Tk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tk-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment