Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix 安装 krane

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install krane

local Homebrew formula metadata

Linux

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

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

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

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

概览

软件包摘要

Kubernetes deploy tool with rollout verification

命令和别名

  • krane

历史

项目历史与用法

krane is Shopify's Kubernetes deployment CLI with rollout verification. It occupies the space between raw kubectl apply and heavier deployment systems by giving CI/CD jobs a clearer pass/fail answer and debug context.

项目历史

The project began publicly as Shopify's kubernetes-deploy tooling; the GitHub repository was created on 2017-01-17. Its README explains that krane wraps kubectl apply rather than replacing Kubernetes primitives, with rollout watching, failure diagnostics, predeploy phases, EJSON secret handling, render, run, restart, and global-deploy commands.

The 1.0 migration guide documents the rename from kubernetes-deploy to krane at version 1.0.0. That release redesigned the CLI, renamed the Ruby namespace, moved metrics to the krane prefix, and split behavior such as rendering and global resources into clearer commands.

采用历史

Shopify used krane with its open-source Shipit deployment application, which made the tool visible as part of Shopify's Kubernetes deployment story. Packaging through RubyGems and Homebrew made it usable both as a Ruby library/tool and as a standalone CLI in developer and CI environments.

使用方式

A typical krane deploy command targets an application namespace and Kubernetes context, using kubeconfig credentials from $KUBECONFIG or ~/.kube/config. For Google Cloud authentication, the README documents $GOOGLE_APPLICATION_CREDENTIALS as an additional credentials source.

krane is commonly used where a deploy job needs to apply manifests, wait for workload rollout, print actionable failure information, and optionally run one-off tasks or render templates before deploy.

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

krane is a useful packaging example because it is a Ruby-origin Kubernetes tool that installs like a CLI but delegates core state changes to kubectl and kubeconfig. Its history also shows a clean package rename from a descriptive old name to a shorter executable and namespace.

时间线

  • 2017-01-17: The Shopify krane repository was created.
  • 2019-11-18: Version 1.0.0 committed the rename from kubernetes-deploy to krane.
  • 2024-01-29: Version v3.4.1 was published on GitHub.

Related projects

  • kubectl is the deployment primitive krane uses underneath. Shopify Shipit is the related deployment application named in the README. EJSON is related through krane's encrypted Kubernetes secret workflow.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:kubernetes

安装行为

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

建议审查

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

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.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
$KUBECONFIG~/.kube/config$GOOGLE_APPLICATION_CREDENTIALS

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本3.9.1
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/Shopify/krane

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/Shopify/kranenone 置信度

安装元数据

软件包元数据

软件包键brew:krane
版本3.9.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/krane
主页https://github.com/Shopify/krane
仓库https://github.com/Shopify/krane
上游文档https://github.com/Shopify/krane#readme
许可证MIT
源码归档https://rubygems.org/downloads/krane-3.9.1.gem
依赖kubernetes-cli, ruby
macOS 提供的库libffi
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

krane

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

krane 0.20.7-r4

Drop-in replacement for crane with built-in cloud workload identity auth

https://github.com/google/go-containerregistry/tree/main/cmd/krane

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

来源线索

由仓库数据生成

此页面由 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