Automic VaultAutomic Vault

brew

tfk8s を Homebrew, apt, MacPorts, Nix でインストール

tfk8s のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install tfk8s

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install tfk8s

MacPorts ports tree · sysutils/tfk8s/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install tfk8s

Debian stable package indexes · tfk8s · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#tfk8s

nixpkgs package indexes · pkgs/by-name/tf/tfk8s/package.nix · ソース: api.github.com

概要

パッケージ概要

Kubernetes YAML manifests to Terraform HCL converter

コマンドとエイリアス

  • tfk8s

履歴

プロジェクトの歴史と使われ方

tfk8s is a Go CLI for converting Kubernetes YAML manifests into Terraform HCL for the Terraform Kubernetes provider. Its README frames the tool around copying examples from Kubernetes documentation or migrating existing YAML manifests without hand-converting them to HCL.

プロジェクトの歴史

The project occupies the bridge between Kubernetes YAML workflows and Terraform-managed Kubernetes resources. The README focuses on practical conversions: YAML files to `.tf`, `kubectl get ... -o yaml` piped through tfk8s, Helm template output converted to Terraform, and recursive conversion of manifest trees.

The release history is compact but focused. GitHub lists v0.1.10 as the latest release, with v0.1.x releases adding fixes such as stripping generated fields, supporting `generateName`, handling heredoc strings, ignoring empty YAML documents, and removing a dependency on the Terraform project.

採用の歴史

The repository shows about a thousand GitHub stars and is packaged by Homebrew, Debian, Ubuntu, MacPorts, and Nix according to the input metadata. That is broad packaging for a narrow converter, suggesting sustained utility for users moving between Kubernetes-native and Terraform-native representations.

Its adoption niche is migration and copy-paste ergonomics: developers can bring Kubernetes examples, Helm output, or live-cluster YAML into Terraform code review without manually mapping every object into HCL.

使われ方

The standard workflow is `tfk8s -f input.yaml -o output.tf` or piping YAML into stdin and redirecting HCL. Flags include input/output file selection, map-only output, provider alias population, stripping server-side fields, quote-stripping for map keys, and version display.

The README documents use with `kubectl`, Helm, and `find`, making it useful in shell pipelines rather than only as an interactive conversion tool.

パッケージ好きにとっての重要性

tfk8s is package-nerd interesting because it is a format converter with a very clear boundary: Kubernetes YAML in, Terraform HCL out. It reduces a boring migration chore and fits naturally as a small CLI installed from a system package manager.

Its presence in multiple package ecosystems makes it easier to use in CI and migration scripts without vendoring a custom converter into every repository.

タイムライン

  • 2022: Repository page lists v0.1.10 as the latest release.
  • 2022: v0.1.x release notes record support and cleanup for generated fields, `generateName`, heredoc strings, empty YAML documents, and Terraform dependency removal.

Related projects

  • Terraform Kubernetes Provider is the target provider named by the README.
  • `kubectl` and Helm are documented input producers for tfk8s conversion workflows.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:kubernetes

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 12 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
tfk8scliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版0.1.10
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.1.10

https://github.com/jrhouston/tfk8s

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:tfk8s
バージョン0.1.10
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/tfk8s
ホームページhttps://github.com/jrhouston/tfk8s
リポジトリhttps://github.com/jrhouston/tfk8s
上流ドキュメントhttps://github.com/jrhouston/tfk8s
ライセンスMIT
ソースアーカイブhttps://github.com/jrhouston/tfk8s/archive/refs/tags/v0.1.10.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

tfk8s 0.1.10-2+b10

Tool for converting Kubernetes YAML manifests to Terraform HCL

https://github.com/jrhouston/tfk8s

sudo apt install tfk8s
  • Section: golang
  • Architecture: amd64
  • Source Package: tfk8s
  • 1 依存関係
  • normalized package name match
  • 一致条件: Tfk8s
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tfk8s from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tfk8s

nix profile install nixpkgs#tfk8s
  • normalized package name match
  • 一致条件: Tfk8s
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tf/tfk8s/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

tfk8s 0.1.10-2

Tool for converting Kubernetes YAML manifests to Terraform HCL

https://github.com/jrhouston/tfk8s

sudo apt install tfk8s
  • Section: universe/golang
  • Architecture: amd64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Tfk8s
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tfk8s from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

tfk8s

sudo port install tfk8s
  • normalized package name match
  • 一致条件: Tfk8s
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/tfk8s/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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