Production-Grade Container Scheduling and Management
Go to file
Antonio Ojea 2fee0c45e6 skip hack/tools/vendor folder
The makefiles scripts create a variable with all the go files
that are part of the Kubernetes source tree, including staging.

As today, this variable has a size of < 100kb

wc .make/all_go_dirs.mk
2326  2326 98905 .make/all_go_dirs.mk

This variable is passed as argument in the Makefiles, where it
is expanded. In Linux, there is a limit to the max size of
the arguments MAX_ARG_STRLEN.

If the arguments go above 128k, you get a nice:

execvp: /usr/bin/env: Argument list too long

If you, for whatever reason, do some go mod vendor inside the
hack/tools folder, these files will be added to the variable
and most probably you'll go above the limit and get that error.

Then, you'll learn a lot about Makefils, shell expansion, strace,
execpve, ARG_MAX and MAX_ARG_STRLEN,until you realize what is
the real problem :).
2021-08-26 20:02:43 +02:00
.github .github: update enhancement issue template to point to KEPs 2021-02-24 16:03:40 +05:30
api fix typo: Modify PodTrackingWithFinalizers to JobTrackingWithFinalizers 2021-08-23 15:38:30 +08:00
build Merge pull request #104438 from nick5616/windows/build-ltsc2022-pause 2021-08-25 13:53:53 -07:00
CHANGELOG Merge remote-tracking branch 'origin/master' 2021-08-19 17:43:32 +00:00
cluster generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
cmd generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
docs hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
hack skip hack/tools/vendor folder 2021-08-26 20:02:43 +02:00
LICENSES Update cobra to v1.2.1 2021-08-18 15:02:25 -06:00
logo Create colors.md 2021-01-15 22:15:43 -08:00
pkg Merge pull request #104528 from kolyshkin/runc-1.0.2 2021-08-25 18:17:23 -07:00
plugin Merge pull request #103603 from mengjiao-liu/update-ingress-to-v1 2021-08-24 20:24:39 -07:00
staging Merge pull request #104571 from h4ghhh/controller-manager-logchange-online 2021-08-26 00:43:23 -07:00
test Merge pull request #104552 from claudiubelu/patch-8 2021-08-25 05:50:40 -07:00
third_party Copy golang license to staging copies 2021-08-10 17:37:28 -04:00
vendor Merge pull request #104528 from kolyshkin/runc-1.0.2 2021-08-25 18:17:23 -07:00
.generated_files Purge almost all memories of godep 2020-05-07 21:49:00 -07:00
.gitattributes
.gitignore Rename _examples to examples 2021-01-25 10:20:46 -08:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md Remove stale analytics links from docs 2020-11-18 07:04:48 -06:00
go.mod Merge pull request #104528 from kolyshkin/runc-1.0.2 2021-08-25 18:17:23 -07:00
go.sum Merge pull request #104528 from kolyshkin/runc-1.0.2 2021-08-25 18:17:23 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS Move brendandburns to to emeritus status. 2020-08-27 10:20:56 -04:00
OWNERS_ALIASES updating co-chairs 2021-08-13 06:41:40 +00:00
README.md Update godoc reference widget to pkg.go.dev 2021-01-26 09:34:07 -05:00
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.