Skip to content

Commit

Permalink
Remove --routing-suffix since it's not supported anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
soltysh committed Sep 10, 2018
1 parent 2c3c2a0 commit 3ba1046
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions docs/cluster_up_down.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ If you are running `oc cluster up` on a virtual machine in Amazon AWS EC2, you s
$ metadata_endpoint="http://169.254.169.254/latest/meta-data"
$ public_hostname="$( curl "${metadata_endpoint}/public-hostname" )"
$ public_ip="$( curl "${metadata_endpoint}/public-ipv4" )"
$ oc cluster up --public-hostname="${public_hostname}" --routing-suffix="${public_ip}.nip.io"
$ oc cluster up --public-hostname="${public_hostname}"
```
To stop your cluster, run:
Expand Down Expand Up @@ -228,7 +228,6 @@ If a host data directory is not specified, the data directory used by OpenShift
## Routing
The default routing suffix used by `oc cluster up` is CLUSTER_IP.nip.io where CLUSTER_IP is the IP address of your cluster.
To use a different suffix, specify it with `--routing-suffix`.
## Specifying Images to Use
Expand Down
3 changes: 1 addition & 2 deletions pkg/oc/cli/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ var (
To use an existing Docker connection, ensure that Docker commands are working and that you
can create new containers.
Default routes are setup using nip.io and the host ip of your cluster. To use a different
routing suffix, use the --routing-suffix flag.`)
Default routes are setup using nip.io and the host ip of your cluster.`)
)

func NewCmdCluster(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command {
Expand Down
3 changes: 1 addition & 2 deletions pkg/oc/clusterup/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ var (
the command, ensure that you can execute docker commands successfully (i.e. 'docker ps').
By default, the OpenShift cluster will be setup to use a routing suffix that ends in nip.io.
This is to allow dynamic host names to be created for routes. An alternate routing suffix
can be specified using the --routing-suffix flag.
This is to allow dynamic host names to be created for routes.
A public hostname can also be specified for the server with the --public-hostname flag.`)

Expand Down

0 comments on commit 3ba1046

Please sign in to comment.