Production-Grade Container Scheduling and Management
Go to file
Ihar Hrachyshka d68cd8a0c7 Expose object tracker for fake clientsets
Not every object kind can be registered via tracker .Add() called as
part of SimpleClientset initialization. This is because .Add() relies
on UnsafeGuessKindToResource to convert object kinds into resource
type names, which is broken for some resources. An example of an
affected kind is NetworkAttachmentDefinitions CRD that uses
network-attachment-definitions as its resource type name. When
UnsafeGuessKindToResource is called for this kind, it returns
networkattachmentdefinitions (without dashes).

As per the comment inside .Add, kinds affected by
UnsafeGuessKindToResource deficiencies should instead register objects
using tracker .Create() method.  Problem is, current SimpleClientset
struct definition doesn't expose the object tracker in any way, which
makes it impossible to properly register these kinds at all.

To address the issue, this change modifies the definition of
SimpleClientset struct to expose the object tracker used via Tracker()
method.
2019-04-03 11:44:05 -07:00
.github delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
api update generated files 2019-03-30 14:52:50 +08:00
build Update hack scripts to use go mod 2019-04-03 10:19:39 -04:00
cluster Merge pull request #76039 from johnSchnake/conformanceErrExit 2019-04-03 11:14:49 -07:00
cmd Merge pull request #75866 from jmkeyes/kubeadm-config-image-repository-flag 2019-04-03 11:14:37 -07:00
docs
Godeps generated: hack/update-vendor.sh 2019-04-03 10:19:40 -04:00
hack Update hack scripts to use go mod 2019-04-03 10:19:39 -04:00
logo delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
pkg Expose object tracker for fake clientsets 2019-04-03 11:44:05 -07:00
plugin Move cloud-specific roles out of RBAC bootstrap 2019-04-02 19:17:53 +08:00
staging Expose object tracker for fake clientsets 2019-04-03 11:44:05 -07:00
test Merge pull request #75389 from jpbetz/pagination-v1 2019-04-03 11:14:25 -07:00
third_party Remove third_party/forked/godep 2019-04-03 10:19:39 -04:00
translations Remove 404 link in kubectl help information 2019-03-01 18:17:08 +08:00
vendor generated: hack/update-vendor.sh 2019-04-03 10:19:40 -04:00
.bazelrc
.generated_files generated_files: remove line about /docs/.generated_docs 2019-02-11 02:54:45 +02:00
.gitattributes
.gitignore Update hack scripts to use go mod 2019-04-03 10:19:39 -04:00
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.5.md
CHANGELOG-1.6.md
CHANGELOG-1.7.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.8.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.9.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.10.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.11.md Update CHANGELOG-1.11.md for v1.11.9. 2019-03-25 16:45:50 +00:00
CHANGELOG-1.12.md Update CHANGELOG-1.12.md for v1.12.7. 2019-03-25 14:35:57 +00:00
CHANGELOG-1.13.md Update CHANGELOG-1.13.md for v1.13.5. 2019-03-25 16:26:28 +00:00
CHANGELOG-1.14.md Update CHANGELOG-1.14.md 2019-03-28 13:09:42 +08:00
CHANGELOG.md update changelog 2019-03-26 09:21:55 +01:00
code-of-conduct.md
CONTRIBUTING.md
go.mod generated: hack/update-vendor.sh 2019-04-03 10:19:40 -04:00
go.sum generated: hack/update-vendor.sh 2019-04-03 10:19:40 -04:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Volunteer for dep-approvers 2019-02-23 14:01:19 -05:00
README.md
SECURITY_CONTACTS Update embargo doc link in SECURITY_OWNERS and changes PST to PSC 2019-03-08 10:23:48 -07:00
SUPPORT.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
WORKSPACE

Kubernetes

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

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.

Analytics