k3s/test
k8s-merge-robot 85de6acadc Merge pull request #23208 from deads2k/fix-version-override
Automatic merge from submit-queue

make storage enablement, serialization, and location orthogonal

This allows a caller (command-line, config, code) to specify multiple separate pieces of config information regarding storage and have them properly composed at runtime.  The information provided is exposed through interfaces to allow alternate implementations, which allows us to change the expression of the config moving forward.  I also fixed up the types to be correct as I moved through.

The same options still exist, but they're composed slightly differently
 1. specify target etcd servers per Group or per GroupResource
 1. specify storage GroupVersions per Groups or per GroupResource
 1. specify etcd prefixes per GroupVersion or per GroupResource
 1. specify that multiple GroupResources share the same location in etcd
 1. enable GroupResources by GroupVersion or by GroupResource whitelist or GroupResource blacklist

The `storage.Interface` is built per GroupResource by:
 1. find the set of possible storage GroupResource based on the priority list of cohabitators
 1. choose a GroupResource from the set by looking at which Groups have the resource enabled
 1. find the target etcd server, etcd prefix, and storage encoding based on the GroupResource

The API server can have its resources separately enabled, but for now I've kept them linked.

@liggitt I think we need this (or something like it) to be able to go from config to these interfaces.  Given another round of refactoring, we may be able to reshape these to be more forward driving.

@smarterclayton this is important for rebasing and for a seamless 1.2 to 1.3 migration for us.
2016-04-21 08:24:29 -07:00
..
component/scheduler/perf Add RC and container pors to scheduler benchmark 2016-04-20 15:10:57 +02:00
e2e Merge pull request #24185 from jsafrane/devel/stabilize-provisioning-e2e 2016-04-21 06:03:37 -07:00
e2e_node Enable vet 2016-04-20 09:48:24 -07:00
fixtures/pkg/kubectl/cmd/apply
images Add Makefile for iperf 2016-04-13 14:28:33 -07:00
integration make storage enablement, serialization, and location orthogonal 2016-04-21 08:18:55 -04:00
kubemark Don't remove kubemark binaries 2016-04-13 12:07:34 +02:00
soak Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00