Production-Grade Container Scheduling and Management
Go to file
Antonio Ojea 03bd3e25b1 [cloud-provider] require providerID to initialize node
The node controller has two reconcilations loops:

1. workqueue receiving events from watchers, to implement
the node initialization

2. periodic loop to reconcile cloud-provider addresses and
node objects, since there is no watch for the cloud-provider
addresses. However, this loop can take O(xx) mins on large
clusters.

Before the external cloud providers were enabled by default,
the kubelet was in charge of setting the corresponding
providerID and zone and region labels during the node object
creation.

Once this logic was moved to the external cloud providers,
there are cases that the node controller may fail to add the
providerID value on the node object and this is never reconciled.
The problem is that there are many controllers and projects that
depend on this field to be set.

Checking at the code it is not possible to not have a ProviderID
in any cloud-provider, since it is always built from the provider name
and the instance. ProviderID is also inmutable once set, so we make
ProviderID a requirement for node initialization.

To avoid any possible problems, we rollout this change under a feature
gate in deprecated state, so cloud providers can opt-out to the new
behavior.

Change-Id: Ic5d9c23b6a286b12c9721d4a378485a8b81212d1

Change-Id: Iac8c7e7e47a3247553806ed7128b273bbef0a30b
2024-02-26 09:01:21 +00:00
.github
api Merge pull request #122472 from pacoxu/flowcontrolv1 2024-02-12 13:17:48 -08:00
build update images to have the full semver in the tag 2024-02-13 14:04:29 +01:00
CHANGELOG CHANGELOG: Update directory for v1.29.2 release 2024-02-14 18:01:51 +00:00
cluster make use of latest snapshot controller version v6.3.3 in the deployment 2024-02-13 01:53:50 +05:30
cmd Merge pull request #122919 from alexzielenski/apiserver/policy/mutating-initial 2024-02-14 14:52:26 -08:00
docs
hack Merge pull request #123269 from pohly/lint-skip-in-verify 2024-02-14 18:08:18 -08:00
LICENSES agnhost: merge registry.k8s.io/stress:v1 (github.com/vishh/stress) 2024-02-13 23:21:05 +09:00
logo
pkg Merge pull request #123242 from mimowo/fast-backoff-for-replacment-policy-tests 2024-02-15 09:54:53 -08:00
plugin Merge pull request #122612 from mtardy/remove-scdeny 2024-02-12 08:37:13 -08:00
staging [cloud-provider] require providerID to initialize node 2024-02-26 09:01:21 +00:00
test integration test for cloud provider 2024-02-26 09:01:21 +00:00
third_party agnhost: merge registry.k8s.io/stress:v1 (github.com/vishh/stress) 2024-02-13 23:21:05 +09:00
vendor Add CBOR Serializer implementation. 2024-02-15 10:31:10 -05:00
.generated_files
.gitattributes
.gitignore
.go-version use patch number 2024-02-09 14:47:56 +01:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Bump github.com/fxamacker/cbor/v2 to v2.6.0. 2024-02-14 10:09:15 -05:00
go.sum Bump github.com/fxamacker/cbor/v2 to v2.6.0. 2024-02-14 10:09:15 -05:00
LICENSE
Makefile
OWNERS
OWNERS_ALIASES Merge pull request #123202 from kannon92/kevin-sig-node-reviewer 2024-02-13 08:28:56 -08:00
README.md use the latest semver version for the badge 2023-10-24 15:30:17 -04:00
SECURITY_CONTACTS
SUPPORT.md

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.
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 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.