Built something? We create video reels & spotlights for GitHub projects.Promote your project →
kubernetes
Home / Go / kubectl

kubernetes/kubectl

Issue tracker and mirror of kubectl code

Go ◇ k8s-sig-cli Apache-2.0
★3.3KSTARS
⑂1KFORKS
!102ISSUES
🏆#1,397GLOBAL RANK
🔥3DAYS TRENDING
🚀
Maintainer Growth Kit for kubectl

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for kubernetes/kubectl
CSV

Momentum

+84

STARS · LAST 30 DAYS

3

PER DAY

#186

MOST-STARRED Go

Window7 days30 days90 days
Stars gained+21+84+270
Per day333
Forks gained+5+20+51

kubectl gained 84 stars in the last 30 days, about 3 a day, and now has 3.3K. It is about 9 years old and has averaged roughly 372 stars a year. It ranks #186 among Go repositories and #1,397 across all languages on GitHubRepo.

Trending Record

kubectl has maintained a continuous presence across global trending indexes, peaking at #1470. Below is the 30-day activity profile:

💡 Overview

kubectl is an open-source project written in Go: Issue tracker and mirror of kubectl code.

Engineered for speed, consistency, and developer ease, it solves common hurdles in k8s-sig-cli, k8s-staging. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in Go for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ go install github.com/kubernetes/kubectl@latest

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

Go >= 1.21 runtime environment

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

kubectl coordinates its core functionality through a modular Go pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Command-Line Automation

Execute automated build, deployment, and maintenance tasks directly from the terminal.

CI/CD Workflow Integration

Run non-interactive validation checks in GitHub Actions, GitLab CI, or local pre-commit hooks.

Developer Environment Setup

Standardize local engineering workstations with single-binary utility commands.

Scripting & Pipeline Orchestration

Chain complex multi-stage scripts with reliable error reporting and exits.

🚀 Getting Started

1

Install kubectl using your package manager: `go install github.com/kubernetes/kubectl@latest`

2

Initialize your project workspace or configuration file for kubectl.

3

Import kubectl into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `kubectl --help` to verify successful setup.

👍 Strengths

Active community backing with 3,348 GitHub stars and verified adoption.
Permissive open-source distribution under the Apache-2.0 license.
Built in Go for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with Go and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

A
avelino/awesome-go ★ 185.9K Go

A curated list of awesome Go frameworks, libraries and software

Compare ↗
O
ollama/ollama ★ 181.8K Go

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Compare ↗
G
golang/go ★ 139.1K Go

The Go programming language

Compare ↗
K
kubernetes/kubernetes ★ 128K Go

Production-Grade Container Scheduling and Management

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with Go, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

kubernetes/kubectl is currently ranked #1,397 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#1,392 directvt/vtm C++ ★ 3.4K Compare ↗
#1,393 Ataraxy-Labs/sem Rust ★ 3.4K Compare ↗
#1,394 claration/impactor Rust ★ 3.4K Compare ↗
#1,395 automazeio/vibeproxy Swift ★ 3.4K Compare ↗
#1,396 ezyang/htmlpurifier PHP ★ 3.4K Compare ↗
#1,397 kubernetes/kubectl This Project Go ★ 3.3K
#1,398 AdguardTeam/dnsproxy Go ★ 3.3K Compare ↗
#1,399 pgmpy/pgmpy Python ★ 3.3K Compare ↗
#1,400 awslabs/aws-sdk-rust Rust ★ 3.3K Compare ↗
#1,401 jank-lang/jank C++ ★ 3.3K Compare ↗
#1,402 ThirteenAG/GTAIV.EFLC.FusionFix C++ ★ 3.3K Compare ↗

Frequently Asked Questions

What does kubectl do? +

Issue tracker and mirror of kubectl code

What language is kubectl written in? +

The primary language is Go. Topics include: k8s-sig-cli, k8s-staging.

Is kubectl actively maintained? +

Yes, the last recorded push was on Sep 25, 2026 with 102 open issues being tracked.

How many stars does kubectl have? +

kubectl has 3,348 stars and 1,017 forks on GitHub.

How does kubectl rank among GitHub repositories? +

With 3,348 stars, kubernetes/kubectl is ranked #1,397 globally across all repositories tracked on GitHubRepo and #186 among Go projects.

What license is kubectl distributed under? +

The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.