Bx cs locations not showing region based location

I'll sign up for Bluemix, and the origin area us-south

. I issue the command bx cs locations

and return dal10 and dal12

. I change the area with a command bx target -r eu-de

and check if the area has changed with bx info

. Of course, the region is now eu-de

, as expected.

I issue a command bx cs locations

to find locations in this area, but the returned locations dal10 and dal12

are that are in the area us-south

, not part of the area eu-de

.

How can I specify the location of containers based on the region?

+3


source to share


2 answers


There are two types of registers. One of them is the Bluemix Common Region. Another area of ​​serving IBM Bluemix containers. Kubernetes is available in two different IBM Bluemix Container Service storage regions, us-south and eu-central. To access these regions, use an optional flag when initializing the container service --host

. For eu-central it will be   bx cs init --host https://eu-central.containers.bluemix.net



You can see the login path in the docs: https://console.ng.bluemix.net/docs/containers/cs_cli_install.html#cs_cli_configure

+1


source


To expand on this answer, you can also do another one bx cs init

after switching the bx region, and bx cs init will use the default host for the bx region you are in. So if you don't want to learn the hosts you need, you can do so by changing the bx scopes, just forget to do it bx cs init

after.



+1


source







All Articles