macOS
brew install k2tflocal Homebrew formula metadata
sudo port install k2tfMacPorts ports tree · sysutils/k2tf/Portfile · 来源: api.github.com
安装
brew install k2tflocal Homebrew formula metadata
sudo port install k2tfMacPorts ports tree · sysutils/k2tf/Portfile · 来源: api.github.com
nix profile install nixpkgs#k2tfnixpkgs package indexes · pkgs/by-name/k2/k2tf/package.nix · 来源: api.github.com
scoop install main/k2tfScoop official bucket manifest trees · bucket/k2tf.json · 来源: api.github.com
概览
Kubernetes YAML to Terraform HCL converter
历史
k2tf is a focused converter that turns Kubernetes API objects written as YAML into Terraform HCL suitable for the Terraform Kubernetes provider.
The project started publishing releases in February 2019. Its README defines a narrow purpose: convert Kubernetes YAML into Terraform configuration rather than manage clusters or replace Terraform itself.
k2tf fits teams that already have Kubernetes manifests but want Terraform-managed resources. Its adoption is niche because the need is specific, but package-manager presence in Homebrew, MacPorts, Nix, and Scoop shows enough CLI demand to keep it distributed.
Users feed Kubernetes YAML files or directories to `k2tf` and receive `.tf` output compatible with the Terraform Kubernetes provider. It is most useful during migrations from manifest-based workflows to Terraform-managed Kubernetes resources.
k2tf is a small but very package-nerdy bridge tool: it exists because two declarative ecosystems, Kubernetes YAML and Terraform HCL, overlap without sharing a native file format.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
k2tf | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:k2tf |
|---|---|
| 版本 | 0.8.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/sl1pm4t/k2tf |
| 仓库 | https://github.com/sl1pm4t/k2tf |
| 最后更新 | 2026-07-27T21:58:34+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
k2tf
nix profile install nixpkgs#k2tfk2tf
sudo port install k2tfmain/k2tf
scoop install main/k2tf来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.