k3s/federation
k8s-merge-robot 2817674715 Merge pull request #29557 from deads2k/make-prefx-configurable
Automatic merge from submit-queue

make the resource prefix in etcd configurable for cohabitation

This looks big, its not as bad as it seems.

When you have different resources cohabiting, the resource name used for the etcd directory needs to be configurable.  HPA in two different groups worked fine before.  Now we're looking at something like RC<->RS.  They normally store into two different etcd directories.  This code allows them to be configured to store into the same location.

To maintain consistency across all resources, I allowed the `StorageFactory` to indicate which `ResourcePrefix` should be used inside `RESTOptions` which already contains storage information.

@lavalamp affects cohabitation.
@smarterclayton @mfojtik prereq for our rc<->rs and d<->dc story.
2016-07-28 03:01:28 -07:00
..
apis Internal types for FederatedReplicaSetPreferences 2016-07-22 23:35:38 +02:00
client Add "federation" API group to the known versions list of federation API clients. 2016-07-21 11:55:44 -07:00
cluster Change the name of the secret that delivers federation kubeconfig. 2016-07-19 12:27:33 -07:00
cmd make the resource prefix in etcd configurable for cohabitation 2016-07-27 07:51:40 -04:00
manifests Create a PD volume when deploying the federation with federation-up. 2016-06-29 22:01:50 -07:00
pkg Merge pull request #29455 from mwielgus/frsc-scheduling 2016-07-25 16:16:11 -07:00
registry/cluster Remove unnecessary empty line. 2016-07-23 19:37:13 +08:00
OWNERS Add colhom to federation OWNERS 2016-06-27 13:16:43 -07:00