Production-Grade Container Scheduling and Management
Go to file
Ben Luddy ff849fe8b6
Don't bypass ResponseWriter wrappers for apiserver healthz errors.
The effective layering of ResponseWriters is today, from outside to
inside, httplog(timeout(audit(metrics(original)))). From
6e3fd91e1a, calls to http.Error in the
apiserver's root healthz handler use an unwrapped ResponseWriter --
effectively timeout(audit(metrics(original))) -- to avoid logging
stack traces for those requests.

From 0d50c969c5, the same call to
http.Error receives a completely-unwrapped ResponseWriter. This has
the effect of bypassing not only the httplog wrapper, but also
timeout, audit, and metrics. The timeout wrapper defends against
the (disallowed) use of underyling ResponseWriter after the completion
of its request's ServeHTTP call. Since that defensive behavior is
being bypassed, it's possible for the root healthz handler to panic
when health probes time out.

Instead of continuing to use a wrapper-aware means of disabling stack
traces, this commit adds a new function to httplog that allows
customization of the stack trace logging predicate on a per-request
basis.
2021-12-14 16:23:36 -05:00
.github OWNERS(justaugustus): Prune extraneous reviewer roles 2021-11-11 12:03:06 -05:00
api generated files for the grpc field rename 2021-12-01 18:25:37 +00:00
build test-e2e-node: support pure SSH mode 2021-11-22 10:13:15 -05:00
CHANGELOG CHANGELOG: Update directory for v1.23.0-rc.1 release 2021-12-04 06:44:01 +00:00
cluster turning off default storage class in kube-up 2021-11-16 19:26:30 +00:00
cmd Merge pull request #106520 from pohly/log-print-flags 2021-11-18 01:53:02 -08:00
docs
hack Unversion and normalize openapi v3 fixtures 2021-11-24 10:03:36 -05:00
LICENSES Pin new dependency: github.com/google/cel-go v0.9.0 2021-11-10 13:15:40 -05:00
logo
pkg Revert dockershim CRI v1 changes 2021-12-03 18:37:11 +01:00
plugin controller change for statefulset auto-delete (implementation) 2021-11-17 16:48:50 -08:00
staging Don't bypass ResponseWriter wrappers for apiserver healthz errors. 2021-12-14 16:23:36 -05:00
test storage e2e: update mock deployment 2021-12-02 16:18:26 +01:00
third_party
vendor Revert sigs.k8s.io/structured-merge-diff/v4 to v4.1.2 2021-11-24 10:32:24 -05:00
.generated_files
.gitattributes
.gitignore
.golangci.yaml fix golangci-lint config file using exclude-rules 2021-11-17 13:58:53 +01:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Revert sigs.k8s.io/structured-merge-diff/v4 to v4.1.2 2021-11-24 10:32:24 -05:00
go.sum Revert sigs.k8s.io/structured-merge-diff/v4 to v4.1.2 2021-11-24 10:32:24 -05:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Add enj to sig-auth-authenticators-approvers 2021-11-29 16:49:58 -05: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.