Production-Grade Container Scheduling and Management
Go to file
Antoine Pelisse f2b21f08d9 kubectl-diff: Return non-1 errors on kubectl failures
Currently, diff AND kubectl can return 1 errors either when diff finds
differences, or when kubectl fails something. It also prints an ugly
error when diff finds a differences, since 1 is treated as an error.

Two things this PR does:

1. If diff returns 1, then do not treat it as an error, and exit with
exit code 1. It no longer prints the ugly error.

2. Kubectl errors are +1'd so that they never return 1 which shouldn't
be considered an error.

We need to update the documentation accordingly, to mention that
`KUBECTL_EXTERNAL_DIFF` programs must also follow the convention of
using one as their exit code for changes detected.
2020-01-21 14:32:18 -08:00
.github Add kind/flake issue template 2019-12-09 16:06:17 -08:00
api Merge pull request #86377 from wojtek-t/immutable_secrets_api 2020-01-18 05:25:35 -08:00
build Update to golang@1.13.6 2020-01-12 02:17:40 +02:00
cluster Merge pull request #87032 from awly/preload-gke-exec-plugin 2020-01-16 13:14:52 -08:00
cmd Merge pull request #87357 from yutedz/apisvr-flow-cntl 2020-01-19 17:07:36 -08:00
docs
Godeps Switch to new ClientConfig for Azure cloud provider 2019-12-30 05:56:36 +00:00
hack Merge pull request #87386 from liggitt/local-up-token-signer 2020-01-21 06:35:51 -08:00
logo
pkg Merge pull request #87401 from zouyee/move 2020-01-21 09:21:50 -08:00
plugin Enabling EndpointSlice feature gate by default 2020-01-17 16:19:29 -08:00
staging kubectl-diff: Return non-1 errors on kubectl failures 2020-01-21 14:32:18 -08:00
test Merge pull request #87317 from YuikoTakada/move_skip_e2e_framework 2020-01-21 00:15:36 -08:00
third_party Merge pull request #83385 from daxmc99/docstring-change 2019-11-08 13:48:11 -08:00
translations
vendor Merge pull request #87253 from SaranBalaji90/update-aws-sdk 2020-01-20 09:05:36 -08:00
.bazelrc
.bazelversion Add .bazelversion file 2019-09-19 08:57:12 +02:00
.generated_files
.gitattributes
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md update spelling mistakes 2019-09-05 17:59:36 +08:00
CHANGELOG-1.5.md fix broken link :https://github.com/kubernetes/community/blob/master/contributors/devel/container-runtime-interface.md 2019-11-22 15:55:04 +08:00
CHANGELOG-1.6.md correct invalid urls 2019-12-06 23:34:34 +08:00
CHANGELOG-1.7.md fix broken link :https://github.com/kubernetes/community/blob/master/contributors/devel/cri-validation.md 2019-11-22 15:49:46 +08:00
CHANGELOG-1.8.md
CHANGELOG-1.9.md
CHANGELOG-1.10.md fix broken link: https://kubernetes-csi.github.io/docs/Drivers.html 2019-12-13 14:13:56 +08:00
CHANGELOG-1.11.md fix broken link: https://kubernetes-csi.github.io/docs/Drivers.html 2019-12-13 14:13:56 +08:00
CHANGELOG-1.12.md fix broken link: https://kubernetes-csi.github.io/docs/Drivers.html 2019-12-13 14:13:56 +08:00
CHANGELOG-1.13.md Merge pull request #85629 from CriaHu/test_master6 2019-12-01 19:31:04 -08:00
CHANGELOG-1.14.md Update CHANGELOG-1.14.md for v1.14.10. 2019-12-11 18:16:55 +00:00
CHANGELOG-1.15.md Update CHANGELOG-1.15.md for v1.15.9. 2020-01-21 18:09:13 +00:00
CHANGELOG-1.16.md Update CHANGELOG-1.16.md for v1.16.6. 2020-01-21 18:08:30 +00:00
CHANGELOG-1.17.md Update CHANGELOG-1.17.md for v1.17.2. 2020-01-21 18:07:39 +00:00
CHANGELOG-1.18.md Update CHANGELOG-1.18.md for v1.18.0-alpha.2. 2020-01-21 11:18:31 +00:00
CHANGELOG.md Add CHANGELOG-1.17.md to CHANGELOG.md 2019-10-12 22:23:15 +08:00
code-of-conduct.md
CONTRIBUTING.md
go.mod Merge pull request #87253 from SaranBalaji90/update-aws-sdk 2020-01-20 09:05:36 -08:00
go.sum Merge pull request #87253 from SaranBalaji90/update-aws-sdk 2020-01-20 09:05:36 -08:00
LICENSE
Makefile
Makefile.generated_files
OWNERS Move jbeda to emeritus status. 2019-10-11 17:46:18 -04:00
OWNERS_ALIASES Remove Brad Childs from OWNERS 2020-01-17 18:13:37 -08:00
README.md Make k8s.io/kubernetes dependency policy explicit 2019-10-30 10:53:02 -04:00
SECURITY_CONTACTS
SUPPORT.md
WORKSPACE

Kubernetes

GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts. It provides 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 your company 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 use Kubernetes code as a library in other applications, see the list of published components. Use of the k8s.io/kubernetes module or k8s.io/kubernetes/... packages as libraries is not supported.

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.
mkdir -p $GOPATH/src/k8s.io
cd $GOPATH/src/k8s.io
git clone https://github.com/kubernetes/kubernetes
cd 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