Lightweight Kubernetes
 
 
 
 
Go to file
Kubernetes Submit Queue 43233caaf0 Merge pull request #37871 from Random-Liu/use-patch-in-kubelet
Automatic merge from submit-queue (batch tested with PRs 36692, 37871)

Use PatchStatus to update node status in kubelet.

Fixes https://github.com/kubernetes/kubernetes/issues/37771.

This PR changes kubelet to update node status with `PatchStatus`.

@caesarxuchao @ymqytw told me that there is a limitation of current `CreateTwoWayMergePatch`, it doesn't support primitive type slice which uses strategic merge.
* I checked the node status, the only primitive type slices in NodeStatus are as follows, they are not using strategic merge:
  * [`ContainerImage.Names`](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/v1/types.go#L2963)
  * [`VolumesInUse`](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/v1/types.go#L2909)
* Volume package is already [using `CreateStrategicMergePath` to generate node status update patch](https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/volume/attachdetach/statusupdater/node_status_updater.go#L111), and till now everything is fine. 

@yujuhong @dchen1107 
/cc @kubernetes/sig-node
2016-12-09 11:29:11 -08:00
.github Fix PR template 2016-11-11 14:48:58 -08:00
Godeps Merge pull request #35116 from shashidharatd/fed-coredns-provider 2016-12-08 18:50:05 -08:00
api API v1: ports are not required for all services 2016-12-07 12:20:28 +01:00
build-tools Add support for cross-compiling s390x binaries 2016-12-07 14:51:08 +05:30
cluster Merge pull request #36692 from ikatson/fix-osx-hyperkube-packaging 2016-12-09 10:49:41 -08:00
cmd Merge pull request #38371 from wojtek-t/get_options_in_client 2016-12-09 04:12:09 -08:00
docs API v1: ports are not required for all services 2016-12-07 12:20:28 +01:00
examples Refactor REST storage to use generic defaults 2016-12-08 17:24:21 -05:00
federation Merge pull request #38371 from wojtek-t/get_options_in_client 2016-12-09 04:12:09 -08:00
hack Merge pull request #38403 from deads2k/fix-local-up-dns 2016-12-09 08:50:21 -08:00
hooks Add pre-commit hooks for verifying pkg names 2016-11-30 15:23:36 +08:00
logo Update usage guidelines to reflect the donation to CNCF 2016-10-12 15:56:50 -07:00
pkg Merge pull request #37871 from Random-Liu/use-patch-in-kubelet 2016-12-09 11:29:11 -08:00
plugin Update bazel files 2016-12-09 09:42:02 +01:00
staging Merge pull request #37463 from tanshanshan/comment-modify 2016-12-08 00:23:13 -08:00
test Merge pull request #38284 from Crassirostris/kibana-test-fix-2 2016-12-09 08:49:42 -08:00
third_party autogenerated 2016-10-21 17:32:32 -07:00
vendor Merge pull request #35116 from shashidharatd/fed-coredns-provider 2016-12-08 18:50:05 -08:00
.gazelcfg.json add a .gazelcfg 2016-11-28 16:48:11 -08:00
.generated_docs kubectl: generated changes for new pdb command 2016-12-02 18:42:25 +01:00
.generated_files List generated files for the github size munger 2016-11-15 15:47:22 -08:00
.gitattributes Move .gitattributes annotation to the root, so GitHub will respect them. 2016-11-02 09:48:45 -07:00
.gitignore Add verbose mode to boilerplate 2016-10-22 21:40:08 -07:00
BUILD Revert "disable bazel build" 2016-10-24 14:47:26 -07:00
CHANGELOG.md Update CHANGELOG.md for v1.5.0-beta.3. 2016-12-08 14:59:45 -08:00
CONTRIBUTING.md updated munge-docs 2016-11-29 01:35:11 -08:00
LICENSE LICENSE: revert modifications to Apache license 2016-11-22 11:44:46 -08:00
Makefile Add "make help" to list all make targets and help info 2016-12-05 02:00:46 -05:00
Makefile.generated_files Verify generated files 2016-11-01 22:10:25 -07:00
OWNERS Add jbeda to top level OWNERS 2016-10-25 13:08:07 -07:00
OWNERS_ALIASES Move pkg/kubectl reviewers into an alias 2016-10-28 14:54:17 -07:00
README.md Additional cleanups and addressing review 2016-11-15 20:55:42 +01:00
Vagrantfile Customizable vagrant rsync args and excludes 2016-11-14 11:18:44 +01:00
WORKSPACE gazel 2016-10-21 17:31:54 -07:00
code-of-conduct.md Change code of conduct to call CNCF CoC by reference 2016-10-19 13:22:35 -04:00
labels.yaml

README.md

Kubernetes

Submit Queue Widget GoDoc Widget Coverage Status Widget

Introduction

Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications. Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF)

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.


Are you ...

Code of Conduct

The Kubernetes community abides by the CNCF code of conduct. Here is an excerpt:

As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

Community

Do you want to help "shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented? ". If you are a company, you should consider joining the CNCF. For details about who's involved in CNCF and how Kubernetes plays a role, read the announcement. For general information about our community see the website community page.

Join us on social media (Twitter, Google+) and read our blog

Ask questions and help answer them on Slack or Stack Overflow

Attend our key events (kubecon, cloudnativecon, weekly community meeting)

Join a Special Interest Group (SIG)

Contribute

If you're interested in being a contributor and want to get involved in developing Kubernetes, get started with with this reading:

You will then most certainly gain a lot from joining a SIG, attending the regular hangouts as well as the community meeting.

If you have an idea for a new feature, see the Kubernetes Features repository for a list of features that are coming in new releases as well as details on how to propose one.

Support

While there are many different channels that you can use to get hold of us (Slack, Stack Overflow, Issues, Forums/Mailing lists), you can help make sure that we are efficient in getting you the help that you need.

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. We don't bite!

Analytics