MCPcopy
hub / github.com/kubernetes/kubernetes

github.com/kubernetes/kubernetes @v1.36.2 sqlite

repository ↗ · DeepWiki ↗ · release v1.36.2 ↗
130,231 symbols 658,202 edges 12,592 files 62,561 documented · 48%
README

Kubernetes (K8s)

CII Best Practices Go Report Card GitHub release (latest SemVer)


Kubernetes, also known as K8s, is an open source system for managing containerized applications across multiple hosts. It provides basic mechanisms for the deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If your company wants to help shape the evolution of technologies that are container-packaged, dynamically scheduled, and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using K8s

See our documentation on kubernetes.io.

Take a free course on Scalable Microservices with Kubernetes.

To use Kubernetes code as a library in other applications, see the list of published components. Use of the k8s.io/kubernetes module or k8s.io/kubernetes/... packages as libraries is not supported.

To start developing K8s

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make
You have a working Docker environment.
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make quick-release

For the full story, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide, and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Community Meetings

The Calendar has the list of all the meetings in the Kubernetes community in a single location.

Adopters

The User Case Studies website has real-world use cases of organizations across industries that are deploying/migrating to Kubernetes.

Governance

Kubernetes project is governed by a framework of principles, values, policies and processes to help our community and constituents towards our shared goals.

The Kubernetes Community is the launching point for learning about how we organize ourselves.

The Kubernetes Steering community repo is used by the Kubernetes Steering Committee, which oversees governance of the Kubernetes project.

Roadmap

The Kubernetes Enhancements repo provides information about Kubernetes releases, as well as feature tracking and backlogs.

Extension points exported contracts — how you extend this code

Informer (Interface)
Informer is the subset of [cache.SharedInformer] that NewAssumeCache depends upon. [8 implementers]
pkg/scheduler/util/assumecache/assume_cache.go
ResourceGetter (Interface)
ResourceGetter is an interface for retrieving resources by ResourceLocation. [209 implementers]
pkg/registry/core/pod/strategy.go
NamespacedResourcesDeleterInterface (Interface)
NamespacedResourcesDeleterInterface is the interface to delete a namespace with all resources in it. [84 implementers]
pkg/controller/namespace/deletion/namespaced_resources_deleter.go
RESTStorageProvider (Interface)
RESTStorageProvider is a factory type for REST storage. [23 implementers]
pkg/controlplane/apiserver/apis.go
IPSetVersioner (Interface)
IPSetVersioner can query the current ipset version. [12 implementers]
pkg/proxy/ipvs/ipset.go
ResourcePrinter (Interface)
ResourcePrinter is an interface that knows how to print runtime objects. [24 implementers]
pkg/printers/interface.go
VolumePlugin (Interface)
VolumePlugin is an interface to volume plugins that can be used on a kubernetes node (e.g. by kubelet) to instantiate an [21 …
pkg/volume/plugins.go
GetHTTPInterface (Interface)
GetHTTPInterface is an interface for making HTTP requests, that returns a response and error. [18 implementers]
pkg/probe/http/http.go

Core symbols most depended-on inside this repo

Errorf
called by 16886
pkg/kubelet/pod_workers_test.go
Errorf
called by 12261
staging/src/k8s.io/apimachinery/pkg/api/apitesting/close.go
To
called by 9202
test/e2e/framework/expect.go
OpenAPIModelName
called by 6754
staging/src/k8s.io/api/openapi_models_test.go
ExpectNoError
called by 5996
test/e2e/framework/expect.go
Fatal
called by 5372
staging/src/k8s.io/component-base/featuregate/testing/feature_gate.go
Fatalf
called by 5109
pkg/scheduler/backend/cache/cache_test.go
Obj
called by 4596
pkg/scheduler/framework/preemption/executor.go

Shape

Method 62,024
Function 50,330
Struct 12,922
Interface 2,888
TypeAlias 1,439
FuncType 624
Class 4

Languages

Go100%
Python1%

Modules by API surface

staging/src/k8s.io/api/core/v1/generated.pb.go1,692 symbols
staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go1,564 symbols
pkg/generated/openapi/zz_generated.openapi.go1,382 symbols
pkg/apis/core/v1/zz_generated.conversion.go965 symbols
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go529 symbols
pkg/apis/core/zz_generated.deepcopy.go529 symbols
pkg/apis/core/validation/validation.go355 symbols
staging/src/k8s.io/api/resource/v1beta2/generated.pb.go347 symbols
staging/src/k8s.io/api/extensions/v1beta1/generated.pb.go320 symbols
staging/src/k8s.io/api/resource/v1beta1/generated.pb.go312 symbols
staging/src/k8s.io/api/resource/v1/generated.pb.go312 symbols
staging/src/k8s.io/api/core/v1/types.go309 symbols

Dependencies from manifests, versioned

4d63.com/gocheckcompilerdirectivesv1.3.0 · 1×
4d63.com/gochecknoglobalsv0.2.2 · 1×
bitbucket.org/bertimus9/systemstatv0.5.0 · 1×
cel.dev/exprv0.25.1 · 1×
codeberg.org/chavacava/garifv0.2.1 · 1×
codeberg.org/polyfloyd/go-errorlintv1.9.0 · 1×
cyphar.com/go-pathrsv0.2.2 · 1×
dev.gaijin.team/go/exhaustruct/v4v4.0.0 · 1×
dev.gaijin.team/go/golibv0.8.1 · 1×
github.com/4meepo/tagalignv1.4.3 · 1×
github.com/Abirdcfly/dupwordv0.1.7 · 1×
github.com/AdminBenni/iota-mixingv1.0.0 · 1×

For agents

$ claude mcp add kubernetes \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact