From b2883a30de841a5531a3f85caa1828470af4eddd Mon Sep 17 00:00:00 2001 From: Josh Kelly Date: Wed, 15 Nov 2017 12:49:19 -0800 Subject: [PATCH] Added AWS to install cloud setup (#392) Add AWS instructions to setup commands, since AWS only provides service hostname, not IP. --- Documentation/docs-site/content/install.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/docs-site/content/install.md b/Documentation/docs-site/content/install.md index 9ff06f97..e0ae1de1 100644 --- a/Documentation/docs-site/content/install.md +++ b/Documentation/docs-site/content/install.md @@ -6,7 +6,7 @@ draft: false Welcome! This guide will get you up and running with Fission on a Kubernetes cluster. - + ### Cluster preliminaries If you don't have a Kubernetes cluster, [here's a quick guide to set @@ -149,6 +149,13 @@ FISSION_URL and FISSION_ROUTER, respectively. Wait for services to get IP addresses (check this with ```kubectl --namespace fission get svc```). Then: +##### AWS +``` + $ export FISSION_URL=http://$(kubectl --namespace fission get svc controller -o=jsonpath='{..hostname}') + $ export FISSION_ROUTER=$(kubectl --namespace fission get svc router -o=jsonpath='{..hostname}') +``` + +##### GCP ``` $ export FISSION_URL=http://$(kubectl --namespace fission get svc controller -o=jsonpath='{..ip}') $ export FISSION_ROUTER=$(kubectl --namespace fission get svc router -o=jsonpath='{..ip}')