k3s/cmd
Kubernetes Submit Queue 98e5496aa2 Merge pull request #46677 from enisoc/tpr-migrate-etcd
Automatic merge from submit-queue (batch tested with PRs 43505, 45168, 46439, 46677, 46623)

Add TPR to CRD migration helper.

This is a helper for migrating TPR data to CustomResource. It's rather hacky because it requires crossing apiserver boundaries, but doing it this way keeps the mess contained to the TPR code, which is scheduled for deletion anyway.

It's also not completely hands-free because making it resilient enough to be completely automated is too involved to be worth it for an alpha-to-beta migration, and would require investing significant effort to fix up soon-to-be-deleted TPR code. Instead, this feature will be documented as a best-effort helper whose results should be verified by hand.

The intended benefit of this over a totally manual process is that it should be possible to copy TPR data into a CRD without having to tear everything down in the middle. The process would look like this:

1. Upgrade to k8s 1.7. Nothing happens to your TPRs.
1. Create CRD with group/version and resource names that match the TPR. Still nothing happens to your TPRs, as the CRD is hidden by the overlapping TPR.
1. Delete the TPR. The TPR data is converted to CustomResource data, and the CRD begins serving at the same REST path.

Note that the old TPR data is left behind by this process, so watchers should not receive DELETE events. This also means the user can revert to the pre-migration state by recreating the TPR definition.

Ref. https://github.com/kubernetes/kubernetes/issues/45728
2017-06-01 05:43:44 -07:00
..
clicheck More cli sanity verifications 2017-05-18 15:44:49 -03:00
cloud-controller-manager Initialize cloud providers with a K8s clientBuilder 2017-05-17 14:38:25 -07:00
gendocs autogenerated 2017-04-14 10:40:57 -07:00
genkubedocs autogenerated 2017-04-14 10:40:57 -07:00
genman autogenerated 2017-04-14 10:40:57 -07:00
genslateyaml autogenerated 2017-04-14 10:40:57 -07:00
genswaggertypedocs autogenerated 2017-04-14 10:40:57 -07:00
genutils
genyaml autogenerated 2017-04-14 10:40:57 -07:00
gke-certificates-controller refactor certificate controller 2017-05-23 15:25:58 -07:00
hyperkube Merge pull request #45635 from MrHohn/hyperkube-unit-test 2017-05-23 20:52:56 -07:00
kube-apiserver Add TPR to CRD migration helper. 2017-05-31 19:07:38 -07:00
kube-controller-manager Merge pull request #44897 from msau42/local-storage-plugin 2017-05-30 23:20:02 -07:00
kube-proxy Add /healthz back to kube-proxy metrics server 2017-05-26 11:53:43 -07:00
kubeadm Merge pull request #45708 from jianglingxia/jlx51215 2017-06-01 03:42:10 -07:00
kubectl Introduce visibility rules to kubernetes code. 2017-05-15 12:50:56 -07:00
kubelet Merge pull request #44897 from msau42/local-storage-plugin 2017-05-30 23:20:02 -07:00
kubemark hollow-node.go:delete useless para. and import 2017-05-25 12:54:01 +08:00
libs/go2idl Add networking.k8s.io v1 API, with NetworkPolicy 2017-05-28 10:11:01 -04:00
linkcheck autogenerated 2017-04-14 10:40:57 -07:00
mungedocs autogenerated 2017-04-14 10:40:57 -07:00
BUILD Merge pull request #42070 from luxas/remove_kube_discovery 2017-03-04 12:58:23 -08:00
OWNERS