Lightweight Kubernetes
 
 
 
 
Go to file
Rostislav M. Georgiev f97770b175 kubeadm: Detect CRIs automatically
In order to allow for a smoother UX with CRIs different than Docker, we have to
make the --cri-socket command line flag optional when just one CRI is
installed.

This change does that by doing the following:

- Introduce a new runtime function (DetectCRISocket) that will attempt to
  detect a CRI socket, or return an appropriate error.
- Default to using the above function if --cri-socket is not specified and
  CRISocket in NodeRegistrationOptions is empty.
- Stop static defaulting to DefaultCRISocket. And rename it to
  DefaultDockerCRISocket. Its use is now narrowed to "Docker or not"
  distinguishment and tests.
- Introduce AddCRISocketFlag function that adds --cri-socket flag to a flagSet.
  Use that in all commands, that support --cri-socket.
- Remove the deprecated --cri-socket-path flag from kubeadm config images pull
  and deprecate --cri-socket in kubeadm upgrade apply.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-01-21 16:12:04 +02:00
.github .github: add nikhita as reviewer 2019-01-12 19:52:42 +05:30
Godeps Merge pull request #72138 from dims/switch-location-for-goautoneg 2019-01-18 14:42:46 -08:00
api Merge pull request #72138 from dims/switch-location-for-goautoneg 2019-01-18 14:42:46 -08:00
build make build/copy-output.sh pass shellcheck 2019-01-16 00:39:13 -08:00
cluster Merge pull request #72861 from BenTheElder/slightly-less-bash-fire 2019-01-18 18:00:28 -08:00
cmd kubeadm: Detect CRIs automatically 2019-01-21 16:12:04 +02:00
docs Remove swagger12, swagger-ui, api-reference, swagger-spec, go-bindata-assetfs 2019-01-15 12:02:47 -05:00
hack Merge pull request #73107 from rlenferink/patch-2 2019-01-20 17:49:44 -08:00
logo Create LICENSE 2018-08-07 10:38:29 +05:30
pkg Merge pull request #72679 from danielqsj/wqn 2019-01-19 06:52:04 -08:00
plugin Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config 2019-01-15 13:33:06 -05:00
staging Merge pull request #72740 from prksu/kubectl-version-better-error-msg 2019-01-19 03:35:47 -08:00
test Merge pull request #73091 from silveryfu/imagelocality-fix-test 2019-01-19 00:30:28 -08:00
third_party Remove swagger12, swagger-ui, api-reference, swagger-spec, go-bindata-assetfs 2019-01-15 12:02:47 -05:00
translations translations: point license header to Kubernetes 2018-07-16 14:34:44 +05:30
vendor Merge pull request #72138 from dims/switch-location-for-goautoneg 2019-01-18 14:42:46 -08:00
.bazelrc move build related files out of the root directory 2017-05-15 15:53:54 -07:00
.generated_files Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config 2019-01-15 13:33:06 -05:00
.gitattributes Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config 2019-01-15 13:33:06 -05:00
.gitignore git ignore vendordiff.patch to avoid accidental checkin 2018-10-30 18:49:53 -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 replace features to enhancements 2018-12-12 11:37:21 +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 replace features to enhancements 2018-12-12 11:37:21 +08:00
CHANGELOG-1.8.md replace features to enhancements 2018-12-12 11:37:21 +08:00
CHANGELOG-1.9.md Fix some types 2018-10-31 04:05:25 -04:00
CHANGELOG-1.10.md fix typo of 'kubadm' in CHANGELOG-1.10.md 2019-01-18 02:25:49 +08:00
CHANGELOG-1.11.md Fix action required for pr 61373 2019-01-02 14:31:25 -08:00
CHANGELOG-1.12.md Update CHANGELOG-1.12.md for v1.12.5. 2019-01-17 17:32:06 +00:00
CHANGELOG-1.13.md Update CHANGELOG-1.13.md for v1.13.2. 2019-01-11 01:50:55 +00:00
CHANGELOG-1.14.md Add CHANGELOG-1.14.md for v1.14.0-alpha.1. 2019-01-15 13:07:43 +00:00
CHANGELOG.md Updated a link to the latest changelog 2018-12-28 15:05:09 +13: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 Jordan Liggitt as a top-level owner 2018-12-05 15:34:34 -08:00
OWNERS_ALIASES remove unused milestone-maintainers OWNERS_ALIASES entry 2019-01-03 11:58:21 -08:00
README.md remove submit-queue from readme 2018-09-13 17:10:35 -07:00
SECURITY_CONTACTS add PST to main SECURITY_CONTACTS as formality 2018-05-24 10:52:33 -04:00
SUPPORT.md Clean up support doc resources 2018-09-19 07:15:43 -07: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

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