Production-Grade Container Scheduling and Management
Go to file
Jordan Liggitt fbd6f38084
collapse patch conflict retry onto GuaranteedUpdate
builds on #62868

1. When the incoming patch specified a resourceVersion that failed as a precondition,
the patch handler would retry uselessly 5 times. This PR collapses onto GuaranteedUpdate,
which immediately stops retrying in that case.

2. When the incoming patch did not specify a resourceVersion, and persisting to etcd
contended with other etcd updates, the retry would try to detect patch conflicts with
deltas from the first 'current object' retrieved from etcd and fail with a conflict error
in that case. Given that the user did not provide any information about the starting version
they expected their patch to apply to, this does not make sense, and results in arbitrary
conflict errors, depending on when the patch was submitted relative to other changes made
to the resource. This PR changes the patch application to be performed on the object retrieved
from etcd identically on every attempt.

fixes #58017
SMP is no longer computed for CRD objects

fixes #42644
No special state is retained on the first attempt, so the patch handler correctly handles
the cached storage optimistically trying with a cached object first
2018-04-25 21:55:13 -04:00
.github Merge pull request #62745 from cblecker/github-template-owners 2018-04-25 00:17:53 -07:00
api Merge pull request #62002 from k82cn/k8s_61410_1 2018-04-23 22:45:28 -07:00
build Add pointer comments 2018-04-25 09:47:14 -07:00
cluster Merge pull request #63142 from serathius/prometheus-readme 2018-04-25 08:50:47 -07:00
cmd Merge pull request #63075 from deads2k/api-05-eliminate-indirection 2018-04-25 11:53:14 -07:00
docs Merge pull request #61285 from soltysh/issue23276 2018-04-25 09:47:27 -07:00
Godeps Merge pull request #61926 from filbranden/cgroupdriver10 2018-04-25 10:46:28 -07:00
hack Merge pull request #62432 from ixdy/pkg-generated-bindata 2018-04-25 12:56:08 -07:00
logo
pkg Merge pull request #63040 from misterikkit/ecache-race 2018-04-25 12:56:14 -07:00
plugin generated 2018-04-25 09:02:32 -04:00
staging collapse patch conflict retry onto GuaranteedUpdate 2018-04-25 21:55:13 -04:00
test collapse patch conflict retry onto GuaranteedUpdate 2018-04-25 21:55:13 -04:00
third_party kazel: skip third_party/etcd.* 2018-04-11 16:46:36 -07:00
translations bazel: generate pkg/generated/bindata.go at build time 2018-04-25 09:44:22 -07:00
vendor Merge pull request #61926 from filbranden/cgroupdriver10 2018-04-25 10:46:28 -07:00
.bazelrc
.generated_files
.gitattributes
.gitignore Remove pkg/generated/bindata.go from the repo 2018-04-25 09:44:22 -07:00
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md
CHANGELOG-1.5.md
CHANGELOG-1.6.md
CHANGELOG-1.7.md Update CHANGELOG-1.7.md for v1.7.16. 2018-04-04 13:07:30 +00:00
CHANGELOG-1.8.md Update CHANGELOG-1.8.md for v1.8.12. 2018-04-23 21:14:13 -07:00
CHANGELOG-1.9.md Update CHANGELOG-1.9.md for v1.9.7. 2018-04-19 12:19:02 -04:00
CHANGELOG-1.10.md Merge pull request #61882 from xiangpengzhao/fix-changelog 2018-04-25 02:15:22 -07:00
CHANGELOG-1.11.md Add CHANGELOG-1.11.md for v1.11.0-alpha.1. 2018-04-19 20:10:59 +00:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS root OWNERS: escape backslashes 2018-04-13 10:42:22 -07:00
OWNERS_ALIASES Merge pull request #62281 from juanvallejo/jvallejo/sig-cli-reviewers 2018-04-09 16:00:11 -07:00
README.md
SUPPORT.md
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

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