Lightweight Kubernetes
 
 
 
 
Go to file
Rafael Fernández López bc8bafd825
kubeadm: improve resiliency when conflicts arise when updating the kubeadm-config ConfigMap
Add the functionality to support `CreateOrMutateConfigMap` and `MutateConfigMap`.

* `CreateOrMutateConfigMap` will try to create a given ConfigMap object; if this ConfigMap
  already exists, a new version of the resource will be retrieved from the server and a
  mutator callback will be called on it. Then, an `Update` of the mutated object will be
  performed. If there's a conflict during this `Update` operation, retry until no conflict
  happens. On every retry the object is refreshed from the server to the latest version.

* `MutateConfigMap` will try to get the latest version of the ConfigMap from the server,
  call the mutator callback and then try to `Update` the mutated object. If there's a
  conflict during this `Update` operation, retry until no conflict happens. On every retry
  the object is refreshed from the server to the latest version.

Add unit tests for `MutateConfigMap`

* One test checks that in case of no conflicts, the update of the
  given ConfigMap happens without any issues.

* Another test mimics 5 consecutive CONFLICT responses when updating
  the given ConfigMap, whereas the sixth try it will work.
2019-04-23 15:40:37 +02:00
.github Merge pull request #74047 from danwinship/networking-issue 2019-04-18 19:35:54 -07:00
Godeps github.com/onsi/ginkgo v1.6.0 2019-04-16 10:28:44 -04:00
api Merge pull request #76546 from HotelsDotCom/kep/VolumeSubpathEnvExpansion-Beta 2019-04-19 01:05:56 -07:00
build Update to go 1.12.4 2019-04-14 21:01:00 -07:00
cluster Merge pull request #76238 from Dieken/30s-ttl-for-coredns 2019-04-23 06:20:09 -07:00
cmd kubeadm: improve resiliency when conflicts arise when updating the kubeadm-config ConfigMap 2019-04-23 15:40:37 +02:00
docs Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
hack Merge pull request #76835 from SataQiu/fix-shellcheck-hack-20190420 2019-04-23 03:14:12 -07:00
logo Deleted sentence as suggested by dims 2019-03-27 17:18:53 -04:00
pkg Merge pull request #76889 from SataQiu/fix-golint-kubelet-util-20190422 2019-04-22 20:44:25 -07:00
plugin generated files 2019-04-05 14:30:52 -07:00
staging Fix scale subresource when used with admission webhooks 2019-04-20 03:33:36 -04:00
test Merge pull request #76238 from Dieken/30s-ttl-for-coredns 2019-04-23 06:20:09 -07:00
third_party Fix shellcheck lint errors in third_party/forked/shell2junit/sh2ju.sh 2019-04-11 10:25:41 -07:00
translations Remove 404 link in kubectl help information 2019-03-01 18:17:08 +08:00
vendor Merge pull request #76912 from tallclair/cloudinfo 2019-04-22 17:10:07 -07:00
.bazelrc move build related files out of the root directory 2017-05-15 15:53:54 -07:00
.generated_files generated_files: remove line about /docs/.generated_docs 2019-02-11 02:54:45 +02:00
.gitattributes Mark staging go module files as generated, add script to lint dependencies 2019-04-08 09:42:22 -04:00
.gitignore Update hack scripts to use go mod 2019-04-03 10:19:39 -04:00
.kazelcfg.json Switch from gazel to kazel, and move kazelcfg into build/root 2017-07-18 12:48:51 -07:00
BUILD.bazel move build related files out of the root directory 2017-05-15 15:53:54 -07:00
CHANGELOG-1.2.md Update TOC of CHANGELOG 2017-09-09 13:38:29 +08:00
CHANGELOG-1.3.md from #61246 note removed examples and regression for master 2018-08-14 14:54:05 -05:00
CHANGELOG-1.4.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.5.md replace features to enhancements 2018-12-12 11:37:21 +08:00
CHANGELOG-1.6.md replace features to enhancements 2018-12-12 11:37:21 +08:00
CHANGELOG-1.7.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.8.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.9.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.10.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
CHANGELOG-1.11.md Update CHANGELOG-1.11.md for v1.11.9. 2019-03-25 16:45:50 +00:00
CHANGELOG-1.12.md Update CHANGELOG-1.12.md for v1.12.7. 2019-03-25 14:35:57 +00:00
CHANGELOG-1.13.md Update CHANGELOG-1.13.md for v1.13.5. 2019-03-25 16:26:28 +00:00
CHANGELOG-1.14.md reference kube-proxy bug in v1.14.1 CHANGELOG 2019-04-10 14:27:25 -04:00
CHANGELOG-1.15.md Add CHANGELOG-1.15.md for v1.15.0-alpha.1. 2019-04-16 21:39:16 +00:00
CHANGELOG.md update changelog 2019-03-26 09:21:55 +01:00
CONTRIBUTING.md Pointed to community/contributors/guide/README.md 2017-12-15 22:08:34 +05:30
LICENSE LICENSE: revert modifications to Apache license 2016-11-22 11:44:46 -08:00
Makefile move build related files out of the root directory 2017-05-15 15:53:54 -07:00
Makefile.generated_files move build related files out of the root directory 2017-05-15 15:53:54 -07:00
OWNERS Add dep-approvers for reviewing go dependency changes 2019-04-05 09:56:45 -04:00
OWNERS_ALIASES Add soltysh and pwittrock to sig-cli-api-reviewers 2019-04-19 15:30:55 +02:00
README.md Update README.md 2019-04-09 01:35:19 +01:00
SECURITY_CONTACTS Update embargo doc link in SECURITY_OWNERS and changes PST to PSC 2019-03-08 10:23:48 -07:00
SUPPORT.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
WORKSPACE move build related files out of the root directory 2017-05-15 15:53:54 -07:00
code-of-conduct.md Update code-of-conduct.md 2017-12-20 13:33:36 -05:00
go.mod Update vendors 2019-04-22 13:31:47 +08:00
go.sum Update vendors 2019-04-22 13:31:47 +08:00

README.md

Kubernetes

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