diff --git a/federation/cluster/federation-up.sh b/federation/cluster/federation-up.sh index 913b639bf97..7c7e9f9009b 100755 --- a/federation/cluster/federation-up.sh +++ b/federation/cluster/federation-up.sh @@ -114,10 +114,9 @@ function init() { --dns-zone-name="${DNS_ZONE_NAME}" \ --dns-provider="${DNS_PROVIDER}" \ --image="${kube_registry}/hyperkube-amd64:${kube_version}" \ - --apiserver-arg-overrides="--storage-backend=etcd2" \ --apiserver-enable-basic-auth=true \ --apiserver-enable-token-auth=true \ - --apiserver-arg-overrides="--v=4" \ + --apiserver-arg-overrides="--runtime-config=api/all=true,--v=4" \ --controllermanager-arg-overrides="--v=4" \ --v=4 } diff --git a/test/integration/federation/framework/federation.go b/test/integration/federation/framework/federation.go index e8278acea50..c1ee1bee855 100644 --- a/test/integration/federation/framework/federation.go +++ b/test/integration/federation/framework/federation.go @@ -63,7 +63,10 @@ func (f *FederationFixture) SetUp(t *testing.T) { t.Logf("Starting a federation of %d clusters", f.DesiredClusterCount) f.APIFixture = &FederationAPIFixture{} - f.APIFixture.SetUp(t) + runOptions := GetRunOptions() + // Enable all apis features for test. + runOptions.APIEnablement.RuntimeConfig.Set("api/all=true") + f.APIFixture.SetUpWithRunOptions(t, runOptions) f.stopChan = make(chan struct{}) monitorPeriod := 1 * time.Second