From a39f8ed9437d7f25dead6e7d85ae1adf873cb2ab Mon Sep 17 00:00:00 2001 From: "Madhusudan.C.S" Date: Mon, 29 Aug 2016 10:49:20 -0700 Subject: [PATCH] Update README. --- federation/README.md | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/federation/README.md b/federation/README.md index af08e31e144..f85c20137df 100644 --- a/federation/README.md +++ b/federation/README.md @@ -17,23 +17,42 @@ as explained in that guide, you also need to install [`jq`](https://stedolan.git which this workflow depends, so we are giving an exception to jq for now. --> -Building cluster federation should be as simple as running: +Building cluster federation artifacts should be as simple as running: ```shell -make build do=gen +make build ``` -To deploy clusters and install federation components, edit the -`config.default.json` file to describe your clusters and run +You can specify the docker registry to tag the image using the +KUBE_REGISTRY environment variable. Please make sure that you use +the same value in all the subsequent commands. + +To push the built docker images to the registry, run: ```shell -make build do=deploy +make push +``` + +To initialize the deployment run: + +(This pull the installer images) + +```shell +make init +``` + +To deploy the clusters and install the federation components, edit the +`${KUBE_ROOT}/_output/federation/config.json` file to describe your +clusters and run: + +```shell +make deploy ``` To turn down the federation components and tear down the clusters run: ```shell -make build do=destroy +make destroy ``` # Ideas for improvement