Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 53d14e9a4c Merge pull request #43609 from Random-Liu/update-npd-rbac
Automatic merge from submit-queue

Update NPD rbac.

I recently enabled NPD in gke.

However, I found that in gke e2e test (https://k8s-testgrid.appspot.com/google-gke#gci-gke), npd on the node could not talk with apiserver, and reported full of following errors:
```
E0324 05:08:26.745545    1328 manager.go:160] failed to update node conditions: the server does not allow access to the requested resource (patch nodes gke-bootstrap-e2e-default-pool-fd91d792-mqh4)
E0324 05:08:37.719423    1328 manager.go:160] failed to update node conditions: the server does not allow access to the requested resource (patch nodes gke-bootstrap-e2e-default-pool-fd91d792-mqh4)
E0324 05:08:47.719694    1328 manager.go:160] failed to update node conditions: the server does not allow access to the requested resource (patch nodes gke-bootstrap-e2e-default-pool-fd91d792-mqh4)
```

I created a GKE cluster (v1.7.0-alpha.0.1483+1e879c69ecf09e) myself, and found that addon manager could not create npd binding with the following error:
```
error: error validating "/etc/kubernetes/addons/node-problem-detector/standalone/npd-binding.yaml": error validating data: couldn't find type: v1alpha1.ClusterRoleBinding; if you choose to ignore these errors, turn validation off with --validate=false
```

I found that rbac was updated to beta, but npd was missed because it was merged after 9e6a3496b4 (diff-b05c70853d9a772b310db71a61297841).

I updated rbac to beta in the master manifest and npd on the node could talk with apiserver immediately.
We must get this in 1.6 to make NPD working. @dchen1107 

@dchen1107 @fabioy @liggitt
2017-03-24 11:27:42 -07:00
.github PR template: Update links to kubernetes/community repo 2017-03-17 12:23:58 -04:00
api Preserve API group order in discovery, prefer extensions over apps 2017-03-23 11:10:53 -04:00
build bump Kubernetes packaged CNI to v0.5.1 2017-03-22 12:47:31 -07:00
cluster Merge pull request #43609 from Random-Liu/update-npd-rbac 2017-03-24 11:27:42 -07:00
cmd Merge pull request #42903 from krousey/owners 2017-03-24 10:26:40 -07:00
docs Merge pull request #42828 from janetkuo/ds-types 2017-03-17 17:54:14 -07:00
examples Merge pull request #42533 from yongtang/03042017-docs-typo 2017-03-24 10:26:25 -07:00
federation Merge pull request #42903 from krousey/owners 2017-03-24 10:26:40 -07:00
Godeps Merge pull request #42930 from KarolKraskiewicz/influxdb-clientv2 2017-03-22 02:41:43 -07:00
hack Merge pull request #42347 from aveshagarwal/master-local-cluster-up-fix 2017-03-24 10:25:41 -07:00
hooks
logo
pkg Merge pull request #41696 from justinsb/rationalize_aws_owners 2017-03-24 10:27:26 -07:00
plugin Merge pull request #41404 from k82cn/correct_comments 2017-03-24 10:26:33 -07:00
staging Merge pull request #43148 from justinsb/typo_newgroupmetadfactory 2017-03-24 10:26:47 -07:00
test Merge pull request #42381 from timchenxiaoyu/createdtypo 2017-03-24 10:25:48 -07:00
third_party
translations
vendor Merge pull request #42930 from KarolKraskiewicz/influxdb-clientv2 2017-03-22 02:41:43 -07:00
.bazelrc
.gazelcfg.json
.generated_files
.gitattributes
.gitignore
BUILD.bazel
CHANGELOG.md Update Changelog for 1.5.5 2017-03-21 18:59:30 -07:00
code-of-conduct.md
CONTRIBUTING.md Close kubernetes/community#420 2017-03-08 09:59:30 -08:00
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Initial breakout of scheduling e2es to help assist in both assignment 2017-03-13 22:34:57 -05:00
README.md Close kubernetes/community#420 2017-03-08 09:59:30 -08:00
Vagrantfile
WORKSPACE Bump CNI consumers to latest version 2017-03-22 16:03:13 -07:00

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