Automic VaultAutomic Vault

brew

krane を Homebrew, apk, Nix でインストール

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/krane信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキー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

ソース経路

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

このページは 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment