A benchmark with go1.16 on amd64 resulted in an overall maximum memory usage of 15GiB. This means we now lower the `KUBE_PARALLEL_BUILD_MEMORY` to `20` to still have some room left. The benchmark has been done with the following `Dockerfile`: ```dockerfile FROM k8s.gcr.io/build-image/kube-cross:v1.16.0-1 RUN apt-get update && apt-get install -y time WORKDIR /go/src/k8s.io/kubernetes RUN git clone https://github.com/kubernetes/kubernetes ENV KUBE_PARALLEL_BUILD_MEMORY=0 RUN /usr/bin/time -v make -C kubernetes cross-in-a-container ``` The value of interest from the output: ``` Maximum resident set size (kbytes): 1847108 ``` The RSS is not the only value we have to consider. During the runtime I measured the usage of the cached memory, which gets peaks up to 15GiB. Test machine specs: - CPU: 2 x Intel Scalable Gold 5120 28-Core Processor @ 2.2GHz - RAM: 384GB - Disk: 1 x 3.8TB NVME - OS: Debian 10 (buster) Signed-off-by: Sascha Grunert <sgrunert@redhat.com> |
||
---|---|---|
.github | ||
api | ||
build | ||
CHANGELOG | ||
cluster | ||
cmd | ||
docs | ||
hack | ||
LICENSES | ||
logo | ||
pkg | ||
plugin | ||
staging | ||
test | ||
third_party | ||
translations | ||
vendor | ||
.generated_files | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
code-of-conduct.md | ||
CONTRIBUTING.md | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
Makefile.generated_files | ||
OWNERS | ||
OWNERS_ALIASES | ||
README.md | ||
SECURITY_CONTACTS | ||
SUPPORT.md |
Kubernetes (K8s)

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.