Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 812f1a3edb
Merge pull request #54533 from mengqiy/kubectl_scheme
Automatic merge from submit-queue (batch tested with PRs 54533, 54777, 54763, 54806, 54703). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Create kubectl's own instance of Scheme and Registry

Create kubectl's own instance of Registry and Scheme.
Switch most command that doesn't depend on internal types to use kubectl's own scheme and register.

There are some hack of registering the internal types in some of unit test now, they should be gone after switch to the external type.

Switch kubectl's factory code to use kubectl's scheme will create a lot of ripples.
I don't want make this PR a super giant PR, so I will do it in a followup PR.

Partially addressed #48564.

Copy the summary from https://github.com/kubernetes/kubernetes/pull/54533#issuecomment-340522302:
- creates pkg/kubectl/scheme (install.go and scheme.go) with
deps on properly vendored k8s.io packages.
- deletes about 80% percent of dependence on pkg/api/legacyscheme
- replaces direct dependence from pkg/kubectl on
pkg/apis/rbac
to a vendor style dependence on
k8s.io/api/rbac
and removes dependencies on rbac paths containing internalversion
- replaces almost 50% of direct dependence on pkg/api with (properly vendored)
k8s.io/api/core/v1
- deletes all of dependence on pkg/apis/policy and k8s.io/api/policy/v1beta1

```release-note
NONE
```

/assign @monopole @apelisse
cc: @pwittrock
2017-10-30 17:38:14 -07:00
.github
api Remove all traces of federation 2017-10-26 13:37:37 -07:00
build Merge pull request #54250 from ixdy/debian-hyperkube-base-ssh 2017-10-27 14:38:23 -07:00
cluster Merge pull request #54346 from zouyee/rbac 2017-10-28 22:02:35 -07:00
cmd Merge pull request #54704 from dims/try-clean-up-stores 2017-10-30 13:48:41 -07:00
docs generated-doc-placeholders 2017-10-27 10:03:51 +02:00
examples Merge pull request #54452 from zouyee/minio-1 2017-10-25 23:10:32 -07:00
Godeps Merge pull request #54714 from cblecker/fed-dep-fix 2017-10-27 16:51:24 -07:00
hack Merge pull request #53796 from lichuqiang/kubectl_fix_1 2017-10-30 13:47:56 -07:00
logo
pkg Merge pull request #54533 from mengqiy/kubectl_scheme 2017-10-30 17:38:14 -07:00
plugin Merge pull request #54485 from sttts/sttts-unify-admission-constructors 2017-10-30 15:38:33 -07:00
staging Merge pull request #54485 from sttts/sttts-unify-admission-constructors 2017-10-30 15:38:33 -07:00
test Merge pull request #54485 from sttts/sttts-unify-admission-constructors 2017-10-30 15:38:33 -07:00
third_party
translations
vendor godep update 2017-10-27 13:20:22 -07:00
.bazelrc
.generated_files
.gitattributes Remove all traces of federation 2017-10-26 13:37:37 -07:00
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md Update invalid TOC anchor of 1.4 CHANGELOG 2017-10-26 17:25:23 +08:00
CHANGELOG-1.5.md
CHANGELOG-1.6.md Update invalid TOC anchor of 1.6 CHANGELOG 2017-10-26 17:25:34 +08:00
CHANGELOG-1.7.md
CHANGELOG-1.8.md Merge pull request #54128 from jianglingxia/jlx-changelog 2017-10-25 18:22:04 -07:00
CHANGELOG-1.9.md
CHANGELOG.md
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