Lightweight Kubernetes
 
 
 
 
Go to file
Kubernetes Submit Queue 65a2f15e06 Merge pull request #52493 from mtaufen/fix-file-leak
Automatic merge from submit-queue (batch tested with PRs 52721, 53057, 52493, 52998, 52896). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix a potential file leak

Previously, if a write or sync error occurred, we would not have called
Close(). This commit refactors ReplaceFile() so that we are sure to call
Close(), and also attempts to delete the temporary file if errors occur.

See: https://github.com/kubernetes/kubernetes/pull/52119#discussion_r137916659
Fixes: #53060

```release-note
NONE
```

@yujuhong @ash2k
2017-09-26 15:51:19 -07:00
.github
Godeps godep revendor google api go clients 2017-09-25 10:55:23 -07:00
api Generated code. 2017-09-20 00:15:24 -04:00
build Merge pull request #50587 from CaoShuFeng/verify-staging-godeps 2017-09-24 22:32:39 -07:00
cluster Merge pull request #53005 from mwielgus/ca-1.0.0 2017-09-25 12:23:24 -07:00
cmd Removes creation of CSR approval CR from kubeadm 2017-09-26 07:04:32 -07:00
docs Generated code. 2017-09-20 00:15:24 -04:00
examples Merge pull request #52873 from ixdy/bazel-cleanup 2017-09-24 00:04:36 -07:00
federation Merge pull request #51438 from zhangxiaoyu-zidif/refactor-federation-dns-test-sets 2017-09-23 07:55:00 -07:00
hack Merge pull request #52721 from aditya-konarde/patch-1 2017-09-26 15:41:39 -07:00
logo
pkg Merge pull request #52493 from mtaufen/fix-file-leak 2017-09-26 15:51:19 -07:00
plugin Merge pull request #52873 from ixdy/bazel-cleanup 2017-09-24 00:04:36 -07:00
staging Merge pull request #52302 from smarterclayton/simplify_metrics_registration 2017-09-26 13:17:38 -07:00
test Merge pull request #53057 from aleksandra-malinowska/autoscaling-test-fix-8 2017-09-26 15:41:47 -07:00
third_party Use buildozer to remove deprecated automanaged tags 2017-08-11 09:31:50 -07:00
translations Merge pull request #51463 from lucab85/i18n-Italian 2017-09-23 04:02:51 -07:00
vendor godep revendor google api go clients 2017-09-25 10:55:23 -07:00
.bazelrc
.generated_files
.gitattributes
.gitignore make clean will remove all gitignored files 2017-09-04 11:04:09 -07:00
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md Update TOC of CHANGELOG 2017-09-09 13:38:29 +08:00
CHANGELOG-1.3.md Move 1.3.* release notes out of CHANGELOG.md 2017-09-15 11:21:25 +08:00
CHANGELOG-1.4.md Move 1.4.* release notes out of CHANGELOG.md 2017-09-19 20:22:07 +08:00
CHANGELOG-1.5.md Move 1.5.* release notes out of CHANGELOG.md 2017-09-19 20:22:07 +08:00
CHANGELOG-1.6.md fix some error link of changelog.md and changelog-1.6.md 2017-09-22 15:41:20 +08:00
CHANGELOG.md Merge pull request #52895 from jianglingxia/jlx-proposals 2017-09-22 20:09:35 -07:00
CONTRIBUTING.md
LICENSE
Makefile
Makefile.generated_files
OWNERS Fix my incorrect username in #46649 2017-08-10 11:59:54 -07:00
OWNERS_ALIASES Merge pull request #52108 from cmluciano/cml/addcmlucianomilestone 2017-09-23 07:14:00 -07:00
README.md Add CII Best Practices Badge 2017-08-22 10:56:16 -05:00
SUPPORT.md Add a SUPPORT.md file for github 2017-08-11 14:42:36 -04:00
Vagrantfile
WORKSPACE
code-of-conduct.md
labels.yaml Merge pull request #51848 from xiangpengzhao/milestone-label 2017-09-05 15:46:19 -07:00

README.md

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

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