Production-Grade Container Scheduling and Management
Go to file
Rostislav M. Georgiev f64baf755e kubeadm: Don't load deprecated configs
Currently kubeadm supports a couple of configuration versions - v1alpha3 and
v1beta1. The former is deprecated, but still supported.

To discourage users from using it and to speedup conversion to newer versions,
we disable the loading of deprecated configurations by all kubeadm
sub-commands, but "kubeadm config migrate".

v1alpha3 is still present and supported at source level, but cannot be used
directly with kubeadm and some of its internal APIs.

The added benefit to this is, that users won't need to lookup for an old
kubeadm binary after upgrade, just because they were stuck with a deprecated
config version for too long.

To achieve this, the following was done:

- ValidateSupportedVersion now has an allowDeprecated boolean parameter, that
  controls if the function should return an error upon detecting deprecated
  config version. Currently the only deprecated version is v1alpha3.

- ValidateSupportedVersion is made package private, because it's not used
  outside of the package anyway.

- BytesToInitConfiguration and LoadJoinConfigurationFromFile are modified to
  disallow loading of deprecated kubeadm config versions. An error message,
  that points users to kubeadm config migrate is returned.

- MigrateOldConfig is still allowed to load deprecated kubeadm config versions.

- A bunch of tests were fixed to not expect success if v1alpha3 config is
  supplied.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-02-19 12:27:39 +02:00
.github Add security warning back to issue template 2019-02-15 09:58:33 -08:00
api Merge pull request #72300 from nsega/fix-broken-link 2019-02-18 21:32:08 -08:00
build Update repo-infra, bazel-skylib, rules_docker, and rules_go dependencies 2019-02-12 17:55:10 -08:00
cluster Merge pull request #73848 from krzysied/logexporter_custom_fix 2019-02-18 15:23:48 -08:00
cmd kubeadm: Don't load deprecated configs 2019-02-19 12:27:39 +02:00
docs Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
Godeps Merge pull request #73985 from BenTheElder/manual-vendor 2019-02-13 16:12:02 -08:00
hack Merge pull request #73997 from xichengliudui/fixlintcode 2019-02-19 01:44:48 -08:00
logo Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
pkg Merge pull request #73997 from xichengliudui/fixlintcode 2019-02-19 01:44:48 -08:00
plugin Applies zone labels to newly created vsphere volumes 2019-02-15 15:06:01 +05:30
staging Merge pull request #72300 from nsega/fix-broken-link 2019-02-18 21:32:08 -08:00
test Merge pull request #73046 from mikkeloscar/fix-e2e-websocket-https 2019-02-18 22:45:33 -08:00
third_party Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
translations Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
vendor Merge pull request #72525 from justinsb/owners_should_not_be_executable 2019-02-14 23:55:45 -08:00
.bazelrc
.generated_files generated_files: remove line about /docs/.generated_docs 2019-02-11 02:54:45 +02: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
BUILD.bazel
CHANGELOG-1.2.md
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 Update CHANGELOG-1.10.md for v1.10.13. 2019-02-13 12:39:38 +00:00
CHANGELOG-1.11.md Merge pull request #71310 from xiezongzhe/patch-3 2019-01-25 18:32:01 -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.3. 2019-02-01 21:06:28 +00:00
CHANGELOG-1.14.md Update CHANGELOG-1.14.md for v1.14.0-alpha.3. 2019-02-12 10:56:09 +00:00
CHANGELOG.md Updated a link to the latest changelog 2018-12-28 15:05:09 +13:00
code-of-conduct.md
CONTRIBUTING.md
LICENSE
Makefile
Makefile.generated_files
OWNERS Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
OWNERS_ALIASES Merge pull request #74030 from soltysh/update_cli 2019-02-14 10:26:18 -08:00
README.md remove submit-queue from readme 2018-09-13 17:10:35 -07:00
SECURITY_CONTACTS
SUPPORT.md Change http to https for security links 2019-02-14 23:12:23 -08:00
WORKSPACE

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