Production-Grade Container Scheduling and Management
Go to file
David Porter 3281504a50 cluster/ - Configure containerd only if necessary
PR #107663 changed the startup logic to always call `SetupContainerd`
which will generate a new containerd `/etc/containerd/config.toml` file.

This is not always desired since some jobs install containerd from
source and the containerd startup scripts
(https://github.com/containerd/containerd/blob/main/contrib/gce/configure.sh)
are responsible for generating the `/etc/containerd/config.toml` file.
By always calling `SetupContainerd`, the containerd configuration by
containerd's `configure.sh` will be overridden which breaks certain test
jobs, see https://github.com/kubernetes/kubernetes/issues/107830.

To fix this issue, only call `SetupContainerd` if
`/etc/profile.d/containerd_env.sh` does not exist. When containerd
`configure.sh` script will run, `/etc/profile.d/containerd_env.sh` will
be written, and as a result the k8s setup scripts should avoid
overriding the containerd configuration.

Signed-off-by: David Porter <david@porter.me>
2022-02-10 14:24:14 -08:00
.github expand the alias from contribex to the full name 2022-01-19 09:54:55 -05:00
api Merge pull request #107691 from SubhasmitaSw/issue_31393 2022-02-09 18:33:46 -08:00
build make: test-e2e-node: default to containerd 2022-02-01 16:36:06 +01:00
CHANGELOG Merge pull request #107348 from smarterclayton/warn_about_admission 2022-02-04 22:54:50 -08:00
cluster cluster/ - Configure containerd only if necessary 2022-02-10 14:24:14 -08:00
cmd Merge pull request #108029 from deads2k/just-runtimeconfig 2022-02-10 10:15:57 -08:00
docs OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
hack Merge pull request #107481 from shu-mutou/deprecate-dashboard-addon 2022-02-10 05:35:48 -08:00
LICENSES feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
logo Create colors.md 2021-01-15 22:15:43 -08:00
pkg Merge pull request #108029 from deads2k/just-runtimeconfig 2022-02-10 10:15:57 -08:00
plugin Merge pull request #107880 from liggitt/kubectl-auth-token 2022-02-09 14:10:01 -08:00
staging Merge pull request #107921 from mpuckett159/feature/show-ingress-class 2022-02-10 11:57:28 -08:00
test Merge pull request #107481 from shu-mutou/deprecate-dashboard-addon 2022-02-10 05:35:48 -08:00
third_party OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
vendor feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
.generated_files Purge almost all memories of godep 2020-05-07 21:49:00 -07:00
.gitattributes review staging go.mod files 2019-05-10 15:40:43 -04:00
.gitignore Rename _examples to examples 2021-01-25 10:20:46 -08:00
.golangci.yaml fix golangci-lint config file using exclude-rules 2021-11-17 13:58:53 +01:00
CHANGELOG.md CHANGELOG: Move changelog, soft-link to top-level, refresh listing 2020-02-06 01:04:44 -05:00
code-of-conduct.md
CONTRIBUTING.md Remove stale analytics links from docs 2020-11-18 07:04:48 -06:00
go.mod feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
go.sum feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
LICENSE
Makefile
Makefile.generated_files
OWNERS for ./OWNERS, ensure approvers are in reviewers and emeritus approvers are not in reviewers 2022-02-03 22:43:04 -08:00
OWNERS_ALIASES Add dgrisonnet to sig-instrumentation approvers 2022-01-26 17:32:38 +01:00
README.md Update godoc reference widget to pkg.go.dev 2021-01-26 09:34:07 -05:00
SECURITY_CONTACTS Update SECURITY_CONTACTS with current PSC 2019-05-29 15:22:35 +05:30
SUPPORT.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00

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.