Production-Grade Container Scheduling and Management
Go to file
Christian Heimes d57280efb2 Use GetByKey() in typeLister_NonNamespacedGet
The Get() function of non-namespace lister passes a temporary object to
indexer.Get() in order to fetch the actual object from the indexer. This
may cause Go to allocate the temporary object on the heap instead of the
stack, as it is passed into interfaces. For non-namespaced objects,
Get(&Type{ObjectMeta: v1.ObjectMeta{Name: name}}) should be equivalent
to GetByKey(name).

This could be the root cause of excessive allocations, e.g. in tests
clusterRoleLister.Get() has trigger 4 billion allocations. See
https://github.com/openshift/origin/issues/16954

Signed-off-by: Christian Heimes <cheimes@redhat.com>
2017-10-19 22:23:58 +02:00
.github
api generated 2017-10-19 08:06:38 -04:00
build bazel cleanup: remove --incompatible workaround flags 2017-10-18 16:39:37 -07:00
cluster Merge pull request #54025 from freehan/ingress-test 2017-10-19 00:37:12 -07:00
cmd Merge pull request #54142 from neolit123/cmdutil-01 2017-10-19 11:50:05 -07:00
docs generated 2017-10-19 08:06:38 -04:00
examples Merge pull request #51310 from xiangpengzhao/sc-eg 2017-10-18 20:31:15 -07:00
federation update admission webhook to accept client config 2017-10-19 09:52:58 -04:00
Godeps bump cni vendor to v0.6.0 2017-10-10 09:38:34 +08:00
hack Merge pull request #53031 from vishh/device-id 2017-10-19 12:43:52 -07:00
logo Don't use strokes in the logo SVG 2017-10-12 09:38:56 -07:00
pkg Merge pull request #53031 from vishh/device-id 2017-10-19 12:43:52 -07:00
plugin update admission webhook to accept client config 2017-10-19 09:52:58 -04:00
staging Use GetByKey() in typeLister_NonNamespacedGet 2017-10-19 22:23:58 +02:00
test Merge pull request #54034 from dixudx/e2e_multiarch_busybox 2017-10-19 02:45:19 -07:00
third_party Merge pull request #47699 from supereagle/fix-typos 2017-10-17 02:35:52 -07:00
translations
vendor Add sample CustomResourceDefinition controller 2017-10-19 00:21:57 +01:00
.bazelrc
.generated_files
.gitattributes
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md
CHANGELOG-1.5.md Regenerate CHANGELOG TOCs 2017-10-11 17:04:47 -04:00
CHANGELOG-1.6.md Merge pull request #52889 from jianglingxia/jlx-changelogv1.6 2017-10-04 15:04:14 -07:00
CHANGELOG-1.7.md Update CHANGELOG-1.7.md for v1.7.9. 2017-10-19 12:23:54 -07:00
CHANGELOG-1.8.md Move 1.8.x release notes 2017-10-11 22:41:36 -04:00
CHANGELOG-1.9.md Regenerate CHANGELOG TOCs 2017-10-11 17:04:47 -04:00
CHANGELOG.md Move 1.8.x release notes 2017-10-11 22:41:36 -04:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
SUPPORT.md
Vagrantfile
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts, providing 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 you are a company that 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 Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

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.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release

If you are less impatient, 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.

Analytics