Production-Grade Container Scheduling and Management
Go to file
John Howard 2a34801168 workqueue: fix leak in queue preventing objects from being GCed
See https://github.com/grpc/grpc-go/issues/4758 for a real world example
of this leaking 2gb+ of data.

Basically, when we do `q.queue[1:]` we are just repositioning the slice.
The underlying array is still active, which contains the object formerly
known as `q.queue[0]`. Because its referencing this object, it will not
be GCed. The only thing that will trigger it to free is eventually when
we add enough to the queue that we allocate a whole new array.

Instead, we should explicitly clear out the old space when we remove it
from the queue. This ensures the object can be GCed, assuming the users'
application doesn't reference it anymore.
2021-09-17 08:29:26 -07:00
.github
api Merge pull request #104399 from tkashem/apf-v1beta2 2021-09-13 18:01:08 -07:00
build Merge pull request #104749 from cpanato/GH-102822 2021-09-14 09:11:08 -07:00
CHANGELOG CHANGELOG: Update directory for v1.23.0-alpha.2 release 2021-09-14 22:08:45 +00:00
cluster Merge pull request #102592 from pacoxu/patch-11 2021-09-15 01:40:42 -07:00
cmd kubeadm: remove --port from kube-scheduler manifest 2021-09-15 12:58:35 +08:00
docs
hack Merge pull request #104711 from claudiubelu/update-pause-3.6 2021-09-13 19:09:08 -07:00
LICENSES klog 2.20.0, logr v1.1.0, zapr v1.1.0 2021-09-09 14:43:43 +02:00
logo
pkg Migrate cmd/proxy/app and pkg/proxy/meta_proxier to structured logging (#104928) 2021-09-14 20:50:40 -07:00
plugin Merge pull request #103603 from mengjiao-liu/update-ingress-to-v1 2021-08-24 20:24:39 -07:00
staging workqueue: fix leak in queue preventing objects from being GCed 2021-09-17 08:29:26 -07:00
test add StatefulSet MinReadySeconds e2e test 2021-09-15 13:32:38 +02:00
third_party Copy golang license to staging copies 2021-08-10 17:37:28 -04:00
vendor Merge pull request #104399 from tkashem/apf-v1beta2 2021-09-13 18:01:08 -07:00
.generated_files
.gitattributes
.gitignore
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Merge pull request #104880 from dcantah/update-hcsshim-0.8.21 2021-09-10 11:21:21 -07:00
go.sum Merge pull request #104880 from dcantah/update-hcsshim-0.8.21 2021-09-10 11:21:21 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Add ehashman to sig-node-api-reviewers 2021-09-03 15:46:16 -07:00
README.md
SECURITY_CONTACTS
SUPPORT.md

Kubernetes (K8s)

GoPkg Widget CII Best Practices


Kubernetes, also known as K8s, is an open source system for managing containerized applications across multiple hosts. It provides basic mechanisms for 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.

Try our interactive tutorial.

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.
mkdir -p $GOPATH/src/k8s.io
cd $GOPATH/src/k8s.io
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.