Production-Grade Container Scheduling and Management
Go to file
Clayton Coleman d25572c389
kubelet: HandlePodCleanups takes an extra sync to restart pods
HandlePodCleanups is responsible for restarting pods that are no
longer running (usually due to delete and recreation with the same
UID in quick succession). We have to filter the list of pods to
restart from podManager to get the list of admitted pods, which
uses filterOutInactivePods on the kubelet. That method excludes
pods the pod worker has already terminated. Since a restarted
pod will be in the terminated state before HandlePodCleanups
calls SyncKnownPods, we have to call filterOutInactivePods after
SyncKnownPods, otherwise the to-be-restarted pod is ignored and
we have to wait for the next houskeeping cycle to restart it.

Since static pods are often critical system components, this
extra 2s wait is undesirable and we should restart as soon as
we can. Add a failing test that passes after we move the filter
call after SyncKnownPods.
2023-03-16 15:18:44 -06:00
.github Make root approval non-recursive 2022-10-10 08:26:53 -04:00
api ClusterTrustBundles: make update 2023-03-15 20:10:59 -07:00
build Merge pull request #115603 from pacoxu/coredns-v1.10.1 2023-03-14 08:36:28 -07:00
CHANGELOG Fix up after rebasing on top of dedup pod resource req calculation PR 2023-03-10 15:21:56 +00:00
cluster Merge pull request #115619 from jprzychodzen/cluster-kcm-ccm 2023-03-14 09:39:34 -07:00
cmd ClusterTrustBundles: Define types 2023-03-15 20:10:18 -07:00
docs Make root approval non-recursive 2022-10-10 08:26:53 -04:00
hack ClusterTrustBundles: Define types 2023-03-15 20:10:18 -07:00
LICENSES Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0.13.2, kustomize/v5.0.1 2023-03-14 11:40:28 -05:00
logo logo: better alignment of layers 2022-10-19 12:17:25 -07:00
pkg kubelet: HandlePodCleanups takes an extra sync to restart pods 2023-03-16 15:18:44 -06:00
plugin ClusterTrustBundles: kube-apiserver integration tests 2023-03-15 20:19:48 -07:00
staging Merge pull request #113218 from ahmedtd/kep-3257 2023-03-16 11:13:20 -07:00
test Merge pull request #113218 from ahmedtd/kep-3257 2023-03-16 11:13:20 -07:00
third_party Add gimme 2023-02-01 16:34:23 -05:00
vendor ClusterTrustBundles: Define types 2023-03-15 20:10:18 -07:00
.generated_files remove clearly unnecessary lingering BUILD file references 2022-10-04 16:47:25 -07:00
.gitattributes gitattributes: json and yaml files LF line endings 2022-12-22 11:36:07 +00:00
.gitignore Add helper script to install protoc 2023-01-26 18:00:08 -05:00
.go-version [go] Bump images, dependencies and versions to go 1.20.2 2023-03-09 09:57:45 +01:00
CHANGELOG.md Revert "Add link to to file" 2023-01-05 15:53:04 +08:00
code-of-conduct.md
CONTRIBUTING.md
go.mod Merge pull request #116598 from natasha41575/updateKustV5 2023-03-14 17:44:55 -07:00
go.sum Merge pull request #116598 from natasha41575/updateKustV5 2023-03-14 17:44:55 -07:00
LICENSE
Makefile
OWNERS Add sig-architecture-approvers and dep-approvers to root dir 2022-10-10 13:43:04 -04:00
OWNERS_ALIASES Add cici37 as API reviewer 2023-02-02 12:11:09 +00:00
README.md remove gopkg widget 2022-10-18 16:52:38 -07:00
SECURITY_CONTACTS
SUPPORT.md

Kubernetes (K8s)

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.

Community Meetings

The Calendar has the list of all the meetings in 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.