Production-Grade Container Scheduling and Management
Go to file
Monis Khan 800a8eaba7
Prevent rapid reset http2 DOS on API server
This change fully addresses CVE-2023-44487 and CVE-2023-39325 for
the API server when the client is unauthenticated.

The changes to util/runtime are required because otherwise a large
number of requests can get blocked on the time.Sleep calls.

For unauthenticated clients (either via 401 or the anonymous user),
we simply no longer allow such clients to hold open http2
connections.  They can use http2, but with the performance of http1
(with keep-alive disabled).

Since this change has the potential to cause issues, the
UnauthenticatedHTTP2DOSMitigation feature gate can be disabled to
remove this protection (it is enabled by default).  For example,
when the API server is fronted by an L7 load balancer that is set up
to mitigate http2 attacks, unauthenticated clients could force
disable connection reuse between the load balancer and the API
server (many incoming connections could share the same backend
connection).  An API server that is on a private network may opt to
disable this protection to prevent performance regressions for
unauthenticated clients.

For all other clients, we rely on the golang.org/x/net fix in
b225e7ca6d
That change is not sufficient to adequately protect against a
motivated client - future changes to Kube and/or golang.org/x/net
will be explored to address this gap.

The Kube API server now uses a max stream of 100 instead of 250
(this matches the Go http2 client default).  This lowers the abuse
limit from 1000 to 400.

Signed-off-by: Monis Khan <mok@microsoft.com>
2023-10-12 16:54:07 -04:00
.github
api fix typo exeucting => executing 2023-09-17 11:27:57 +02:00
build Bump distroless-iptables to v0.3.3 2023-10-09 13:18:46 +02:00
CHANGELOG CHANGELOG: Update directory for v1.29.0-alpha.1 release 2023-09-25 16:57:38 +00:00
cluster Remove dpasiukevich from cluster/addons/dns OWNERS 2023-09-24 21:47:22 +02:00
cmd Merge pull request #121072 from danwinship/kube-proxy-unit-tests 2023-10-10 19:07:16 +02:00
docs
hack hack: fix update of golangci-lint verify scripts 2023-10-10 09:03:20 +02:00
LICENSES
logo
pkg Merge pull request #119176 from carlory/fix-118893-2 2023-10-10 19:07:07 +02:00
plugin Allow storage migration of CTB without attest authorization 2023-09-20 12:26:11 -04:00
staging Prevent rapid reset http2 DOS on API server 2023-10-12 16:54:07 -04:00
test Merge pull request #121067 from carlory/cleanup-e2enode-framework-equal 2023-10-10 14:44:55 +02:00
third_party
vendor .: bump golang.org/x/net to v0.17.0 2023-10-10 23:07:19 +05:30
.generated_files
.gitattributes
.gitignore
.go-version [go] Bump images, dependencies and versions to go 1.21.2 2023-10-06 15:18:34 +02:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod .: bump golang.org/x/net to v0.17.0 2023-10-10 23:07:19 +05:30
go.sum .: bump golang.org/x/net to v0.17.0 2023-10-10 23:07:19 +05:30
LICENSE
Makefile
OWNERS
OWNERS_ALIASES sig-node: add rphillips to reviewers 2023-09-11 14:34:30 -05:00
README.md
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.