Production-Grade Container Scheduling and Management
Go to file
Clayton Coleman d5719800bf
kubelet: Handle UID reuse in pod worker
If a pod is killed (no longer wanted) and then a subsequent create/
add/update event is seen in the pod worker, assume that a pod UID
was reused (as it could be in static pods) and have the next
SyncKnownPods after the pod terminates remove the worker history so
that the config loop can restart the static pod, as well as return
to the caller the fact that this termination was not final.

The housekeeping loop then reconciles the desired state of the Kubelet
(pods in pod manager that are not in a terminal state, i.e. admitted
pods) with the pod worker by resubmitting those pods. This adds a
small amount of latency (2s) when a pod UID is reused and the pod
is terminated and restarted.
2021-09-15 14:02:00 -04:00
.github .github: update enhancement issue template to point to KEPs 2021-02-24 16:03:40 +05:30
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/update-bazel.sh 2021-02-28 15:17:29 -08:00
hack pin-dependency.sh: enhance forking of a dependency 2021-09-14 11:30:17 +02:00
LICENSES klog 2.20.0, logr v1.1.0, zapr v1.1.0 2021-09-09 14:43:43 +02:00
logo
pkg kubelet: Handle UID reuse in pod worker 2021-09-15 14:02:00 -04:00
plugin Merge pull request #103603 from mengjiao-liu/update-ingress-to-v1 2021-08-24 20:24:39 -07:00
staging staging/publishing: Set go1.16 version to go1.16.8 2021-09-15 14:24:04 +02:00
test Add test for recreating a static pod 2021-09-15 14:01:48 -04: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 Rename _examples to examples 2021-01-25 10:20:46 -08:00
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 Update godoc reference widget to pkg.go.dev 2021-01-26 09:34:07 -05:00
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.