Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 6b50a5cb39 Merge pull request #43338 from fabianofranz/group_aliases_in_api
Automatic merge from submit-queue (batch tested with PRs 46967, 46992, 43338, 46717, 46672)

Add group alias names to API resources to allow discovery

**What this PR does / why we need it**: 
Adds `GroupNames []string` to API resources, which represents the list of group aliases that every resource belongs to. 

Partially fixes https://github.com/kubernetes/kubernetes/issues/41353

This moves the logic of "all" (which currently [translates](fbc94c0896/pkg/kubectl/cmd/util/shortcut_restmapper.go (L106)) to "pods,replicationcontrollers,services,...") to the server-side. Will allow clients like `kubectl` to discover group aliases instead of having it hardcoded and the API server to better handle consistency across multiple clients, version skew, etc; and will make "all" un-special and allow other groups to be created.

As a follow-up we'll patch `kubectl` to make groups aliases discoverable and the hardcoded list a fallback while we still have to support it.

Related to https://github.com/kubernetes/kubernetes/pull/42595#issuecomment-286839885.

**Release note**:
```release-note
Adds the `Categories []string` field to API resources, which represents the list of group aliases (e.g. "all") that every resource belongs to. 
```
@kubernetes/sig-api-machinery-misc @deads2k @bgrant0607
2017-06-05 20:27:46 -07:00
.github
api Update generated 2017-06-05 20:32:30 -03:00
build bazel: base kube-proxy image on debian-iptables instead of busybox 2017-06-01 19:27:15 -07:00
cluster Merge pull request #46992 from mikedanese/restart-fix 2017-06-05 20:27:44 -07:00
cmd Merge pull request #46050 from mml/log-disruption 2017-06-05 18:43:16 -07:00
docs Update generated 2017-06-05 20:32:30 -03:00
examples Added Bind method to Scheduler Extender 2017-06-05 09:44:53 -07:00
federation Update generated 2017-06-05 20:32:30 -03:00
Godeps Merge pull request #46816 from dashpole/update_godep 2017-06-05 16:43:43 -07:00
hack Merge pull request #43338 from fabianofranz/group_aliases_in_api 2017-06-05 20:27:46 -07:00
hooks
logo
pkg Merge pull request #43338 from fabianofranz/group_aliases_in_api 2017-06-05 20:27:46 -07:00
plugin Merge pull request #44883 from ravigadde/bind-1.7 2017-06-05 18:43:06 -07:00
staging Merge pull request #43338 from fabianofranz/group_aliases_in_api 2017-06-05 20:27:46 -07:00
test Merge pull request #44883 from ravigadde/bind-1.7 2017-06-05 18:43:06 -07:00
third_party gonum: slice-based edge holder 2017-05-30 15:12:30 -04:00
translations Merge pull request #46339 from xilabao/fix-kubectl 2017-06-03 12:32:39 -07:00
vendor Merge pull request #46816 from dashpole/update_godep 2017-06-05 16:43:43 -07:00
.bazelrc
.gazelcfg.json
.generated_files
.gitattributes
.gitignore
BUILD.bazel
CHANGELOG.md Merge pull request #45327 from zhangxiaoyu-zidif/first-letter-to-be-caps 2017-05-30 01:36:35 -07:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS Add jregan to OWNERS for kubectl isolation work. 2017-05-30 14:32:48 -07:00
OWNERS_ALIASES Added sig leads alias to OWNERS_ALIAS 2017-06-01 09:43:03 -07:00
README.md
Vagrantfile
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget


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