简体   繁体   English

如何在 IbmCloud 中部署应用程序?

[英]How deploy apps in IbmCloud?

I can deploy my app in ibm cloud.我可以在 ibm cloud 中部署我的应用程序。

I made an organization.我做了一个组织。 But when I enter the command但是当我输入命令时

ibmcloud target --cf i see the following ibmcloud target --cf我看到以下内容

API endpoint: https://cloud.ibm.com
Region: us-south
User: s.zababurin.v@gmail.com
Account: xArt (67d9c2412836032e4ceed1e621a97ffb)
Resource group: web3
CF API endpoint: https://api.us-south.cf.cloud.ibm.com (API version: 2.151.0)
Org:
Space:

There is no organization here.这里没有组织。

I have the us-south region specified but the created organization has United Kingdom我指定了美国南部地区,但创建的组织有英国

When I execute the ibmcloud cf push command当我执行ibmcloud cf push命令时

I get an error我得到一个错误

Invoking 'cf push' ...

No org targeted, use 'cf target -o ORG' to target an org.
FAILED

When I enter the command ibmcloud cf target -o org当我输入命令ibmcloud cf target -o org

I get我明白了

FAILED
Use 'ibmcloud target' to set or view target org or space.

When I enter ibmcloud target -o org当我输入ibmcloud target -o org

FAILED
Could not get org:
Organization 'org' was not found.

Organization established

How can I specify the correct organization and space?如何指定正确的组织和空间?

You can run the following command to check the orgs in a region您可以运行以下命令来检查区域中的orgs

ibmcloud cf orgs

To set a region and also an org run the below command要设置区域和org ,请运行以下命令

ibmcloud target -r us-south -o xArt

For region codes, run ibmcloud regions对于区域代码,运行ibmcloud regions

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM