Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e13d607

Browse files
committed
Final pass looking for errant 'portal' strings
1 parent ac3cc3c commit e13d607

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/getting-started-guides/ubuntu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Then the `roles ` variable defines the role of above machine in the same order,
6161

6262
The `NUM_MINIONS` variable defines the total number of minions.
6363

64-
The `SERVICE_CLUSTER_IP_RANGE` variable defines the kubernetes service portal ip range. Please make sure that you do have a valid private ip range defined here, because some IaaS provider may reserve private ips. You can use below three private network range accordin to rfc1918. Besides you'd better not choose the one that conflicts with your own private network range.
64+
The `SERVICE_CLUSTER_IP_RANGE` variable defines the kubernetes service IP range. Please make sure that you do have a valid private ip range defined here, because some IaaS provider may reserve private ips. You can use below three private network range accordin to rfc1918. Besides you'd better not choose the one that conflicts with your own private network range.
6565

6666
10.0.0.0 - 10.255.255.255 (10/8 prefix)
6767

examples/openshift-origin/create.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ cluster/kubectl.sh create -f $OPENSHIFT_EXAMPLE/openshift-service.yaml
2323
sleep 30
2424
export PUBLIC_IP=$(cluster/kubectl.sh get services openshift --template="{{ index .spec.publicIPs 0 }}")
2525
echo $PUBLIC_IP
26-
export PORTAL_IP=$(cluster/kubectl.sh get services openshift --template="{{ .spec.portalIP }}")
27-
echo $PORTAL_IP
26+
export SVC_IP=$(cluster/kubectl.sh get services openshift --template="{{ .spec.portalIP }}")
27+
echo $SVC_IP
2828
docker run --privileged -v ${OPENSHIFT_CONFIG}:/config openshift/origin start master --write-config=/config --kubeconfig=/config/kubeconfig --master=https://localhost:8443 --public-master=https://${PUBLIC_IP}:8443
2929
sudo -E chown ${USER} -R ${OPENSHIFT_CONFIG}
3030
docker run -i -t --privileged -e="OPENSHIFTCONFIG=/config/admin.kubeconfig" -v ${OPENSHIFT_CONFIG}:/config openshift/origin ex bundle-secret openshift-config -f /config &> ${OPENSHIFT_EXAMPLE}/secret.json
3131
cluster/kubectl.sh create -f ${OPENSHIFT_EXAMPLE}/secret.json
3232
cluster/kubectl.sh create -f ${OPENSHIFT_EXAMPLE}/openshift-controller.yaml
33-
cluster/kubectl.sh get pods | grep openshift
33+
cluster/kubectl.sh get pods | grep openshift

0 commit comments

Comments
 (0)