Automic VaultAutomic Vault

brew

kubernetes-cli mit Homebrew, chocolatey, winget, apk, apt, MacPorts, Nix, pacman, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für kubernetes-cli in AI-Agent-Workflows.

Agent-Sicherheit

Antwort zur Agent-Sicherheit

kubernetes-cli provides kubectl, which controls Kubernetes clusters and workloads.

Credential-Zugriff

Reads kubeconfig, exec credentials, cluster tokens, and namespace context.

Änderungen an Remote-Zustand

Can create, patch, delete, scale, and exec into cluster workloads.

Publish-/Artefakt-Risiko

Can apply manifests that deploy or expose application artifacts.

Empfohlene Kontrolle

Gate kubectl apply, delete, patch, exec, port-forward, and context changes.

Hinweise für Agent-Nutzung

Allow get/describe with safe contexts; require approval for cluster writes and secret reads.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install kubernetes-cli

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install kubectl

MacPorts ports tree · sysutils/kubectl/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add kubectl

Alpine Linux edge package indexes · kubectl · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install kubectl

Debian stable package indexes · kubectl · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#kubectl

nixpkgs package indexes · pkgs/by-name/ku/kubectl/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S kubectl

Arch Linux sync databases · kubectl · Quelle: geo.mirror.pkgbuild.com

Windows

Chocolateyverifiziert · 92%
choco install kubernetes-cli

Chocolatey community package catalog · kubernetes-cli · Quelle: community.chocolatey.org

Windows Package Managerverifiziert · 92%
winget install --id Kubernetes.kubectl -e

Windows Package Manager source index · Kubernetes.kubectl · Quelle: cdn.winget.microsoft.com

Scoopverifiziert · 92%
scoop install main/kubectl

Scoop official bucket manifest trees · bucket/kubectl.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

Kubernetes command-line interface

Verlauf

Projektgeschichte und Nutzung

kubectl is the Kubernetes command-line client and the binary packaged by Homebrew as kubernetes-cli. It is the standard local interface for sending requests to the Kubernetes control plane, reading and writing objects, inspecting resources, and driving day-to-day cluster operations.

Projektgeschichte

Kubernetes began as an open source Google project in 2014 and reached version 1.0 on July 21, 2015, alongside Google's announcement that the project would be donated to the newly formed Cloud Native Computing Foundation. kubectl evolved with the project as the human-facing client for the Kubernetes API.

Adoptionsgeschichte

As Kubernetes became the common substrate for cloud-native infrastructure, kubectl became one of the most widely installed operations binaries in developer and platform-engineering toolchains. Its packaging across Homebrew, Linux distributions, Chocolatey, Scoop, winget, Nix, MacPorts, and other systems reflects that it is both a developer tool and an infrastructure administration tool.

Wie es verwendet wird

kubectl reads kubeconfig data to select a cluster, user, namespace, and context, then communicates with the API server. Kubernetes documentation says kubectl looks for config in $HOME/.kube/config by default, while KUBECONFIG and --kubeconfig allow explicit or merged configuration files.

Warum Paket-Nerds sich dafür interessieren

The kubernetes-cli package is significant because it decouples the local client from a full Kubernetes installation. Package managers let users pin or upgrade the client, match cluster version-skew policy, and keep scripts using a predictable kubectl binary without installing control-plane components.

Zeitleiste

  • 2014: Kubernetes was released as an open source project.
  • 2015-07-21: Kubernetes 1.0 was released and the project was donated to the CNCF.
  • 2023-08-15: Kubernetes documented pkgs.k8s.io as community-owned package repositories for Kubernetes packages.
  • 2025-04-23: Kubernetes v1.33 was released.
  • 2025-08-27: Kubernetes v1.34 was released.

Related projects

  • kubectl is related to the Kubernetes API server, kubeconfig, client-go, kubeadm, kustomize, Helm, kubectl plugins, and the broader SIG CLI tooling ecosystem.

Sicherheitslage

Risikostufe: orange

cluster orchestration infrastructure.

Risikoklassifikator

orange Risiko · hoch Konfidenz · infrastructure

Warum

  • cluster orchestration infrastructure

Signale

  • override:kubernetes-cli

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 3 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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
~/.kube/config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.kube/config

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
kubectlcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version1.36.3
Manager aktualisiert2026-07-23
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/kubernetes/kubernetes

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:kubernetes-cli
Version1.36.3
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/kubernetes-cli
Homepagehttps://kubernetes.io/docs/reference/kubectl/
Repositoryhttps://github.com/kubernetes/kubernetes
Upstream-Dokumentationhttps://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig
LizenzApache-2.0
Quellarchivhttps://github.com/kubernetes/kubernetes.git
Zuletzt aktualisiert2026-07-23T03:43:20Z
Pulseupdated
Build-Abhängigkeitenbash, coreutils, go
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekubernetes-cli
Aliases
  • kubectl
  • kubernetes-cli@1.36
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Chocolatey95%

kubernetes-cli

choco install kubernetes-cli
  • normalized package name match
  • Abgeglichen nach: Kubernetes Cli
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: kubernetes-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kubectx'
winget95%

Kubernetes.kubectl

winget install --id Kubernetes.kubectl -e
  • normalized package name match
  • Abgeglichen nach: Kubernetes Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Kubernetes.kubectl from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

kubectl

sudo port install kubectl
  • installed executable or alias match
  • Abgeglichen nach: Kubectl
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/kubectl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

kubectl 1.32.3+ds-2

Command-line tool for controlling Kubernetes clusters

https://kubernetes.io/

sudo apt install kubectl
  • Section: admin
  • Architecture: amd64
  • Source Package: kubernetes
  • 1 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Kubectl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: kubectl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

kubectl

nix profile install nixpkgs#kubectl
  • installed executable or alias match
  • Abgeglichen nach: Kubectl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ku/kubectl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk92%

kubectl 1.36.1-r0

Kubernetes - kubectl

https://kubernetes.io/

sudo apk add kubectl
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: kubernetes
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Kubectl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kubectl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman92%

kubectl 1.36.1-1

A command line tool for communicating with a Kubernetes API server

https://kubernetes.io/

sudo pacman -S kubectl
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Kubectl
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: kubectl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop92%

main/kubectl

scoop install main/kubectl
  • installed executable or alias match
  • Abgeglichen nach: Kubectl
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/kubectl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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