kubernetes/cmd/kubeadm/app/phases/kubelet
Rostislav M. Georgiev b881f19c8b kubeadm: Group centric component configs
kubeadm's current implementation of component config support is "kind" centric.
This has its downsides. Namely:
- Kind names and numbers can change between config versions.
  Newer kinds can be ignored. Therefore, detection of a version change is
  considerably harder.
- A component config can have only one kind that is managed by kubeadm.
Thus a more appropriate way to identify component configs is required.

Probably the best solution identified so far is a config group.
A group name is unlikely to change between versions, while the kind names and
structure can.
Tracking component configs by group name allows us to:
- Spot more easily config version changes and manage alternate versions.
- Support more than one kind in a config group/version.
- Abstract component configs by hiding their exact structure.

Hence, this change rips off the old kind based support for component configs
and replaces it with a group name based one. This also has the following
extra benefits:
- More tests were added.
- kubeadm now errors out if an unsupported version of a known component group
  is used.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-11-26 13:55:28 +02:00
..
BUILD kubeadm: Group centric component configs 2019-11-26 13:55:28 +02:00
config_test.go kubeadm: Group centric component configs 2019-11-26 13:55:28 +02:00
config.go kubeadm: Group centric component configs 2019-11-26 13:55:28 +02:00
dynamic_test.go move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/ 2019-02-05 13:39:07 -05:00
dynamic.go kubeadm: Add ability to retry ConfigMap get if certain errors happen 2019-06-12 17:49:27 +02:00
flags_test.go kubeadm: remove dependency on pkg/util/procfs 2019-07-19 19:09:53 +03:00
flags.go Kubeadm FG for dual-stack was introduced in #80145. This PR 2019-07-30 07:27:51 -07:00
kubelet.go kubeadm: enable kubelet client certificate rotation on primary CP nodes 2019-11-13 15:49:33 +02:00