- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我要尝试在我的本地 vagrant 机器上运行的 cloud foundry 中部署应用程序。我已经使用 bosh lite 部署了 CF。
vagrant@bosh-lite:~$ bosh vms
Acting as user 'admin' on 'Bosh Lite Director'
Deployment `cf-warden'
Director task 40
Task 40 done
+------------------------------------+--------------------+---------------+--------------+
| Job/index | State | Resource Pool | IPs |
+------------------------------------+--------------------+---------------+--------------+
| api_z1/0 | unresponsive agent | large_z1 | |
| consul_z1/0 | unresponsive agent | small_z1 | |
| doppler_z1/0 | unresponsive agent | medium_z1 | |
| etcd_z1/0 | unresponsive agent | medium_z1 | |
| ha_proxy_z1/0 | unresponsive agent | router_z1 | |
| hm9000_z1/0 | unresponsive agent | medium_z1 | |
| loggregator_trafficcontroller_z1/0 | running | small_z1 | 10.244.0.146 |
| nats_z1/0 | unresponsive agent | medium_z1 | |
| postgres_z1/0 | unresponsive agent | medium_z1 | |
| router_z1/0 | unresponsive agent | router_z1 | |
| runner_z1/0 | unresponsive agent | runner_z1 | |
| uaa_z1/0 | unresponsive agent | medium_z1 | |
+------------------------------------+--------------------+---------------+--------------+
VMs total: 12
当我尝试设置目标时,出现以下问题::
vagrant@bosh-lite:~$ cf api --skip-ssl-validation https://api.10.244.0.146.xip.io
Setting api endpoint to https://api.10.244.0.146.xip.io...
FAILED
Error performing request: Get https://api.10.244.0.146.xip.io/v2/info: dial tcp 10.244.0.146:443: connection refused
最佳答案
作业(api_z1/0 等)似乎无法在该部署中运行。他们都应该处于“运行”状态。请通过运行“bosh cck”尝试云检查命令,看看是否可以恢复它们。
一旦启动并运行它们,请尝试改为:“cf api https://api.bosh-lite.com --skip-ssl-validation”
关于linux - 如何使用 bosh-lite 在 vagrant 上运行的 cloudfoundry 中部署应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34943986/
我正在尝试在 cloudfoundry 应用程序上备份 mysql 数据库。数据库通过 caldecott 建立隧道,我可以使用 mysql 进行连接。 我的数据库到目前为止是 40k,当我使用 my
我尝试将我的应用程序部署到 cloudfoundry,一切都很顺利,但是我没有找到使用资源插件的静态资源。 在日志中,我收到很多如下所示的错误 2012-01-31 13:36:41,352 [htt
我正在尝试使用Bluemix将index.html页面上传到cf CLI。我不确定我是否以正确的心态来解决这个问题。我正在考虑像通常通过FTP上载普通托管服务一样上传此HTML文件。使用Bluemix
在 UAA 中有两个概念,权威和范围。 这些概念似乎重叠。我想知道确切的区别和目的 例如,oauth.login 最佳答案 范围是代表用户的 OAuth 客户端的权限。它们在获得具有以下授权类型之一的
当我将应用程序推送到cloudfoundry时,为 vmc跟我说话: 正在上传mywebsite ...失败 上传失败。使用'vmc push再试一次 TypeError:ni没有隐式转换 有关更多信
关闭。这个问题是opinion-based .它目前不接受答案。 想改善这个问题吗?更新问题,以便可以通过 editing this post 用事实和引文回答问题. 2年前关闭。 Improve t
我将grails网站从cloudfoundry v1移到了v2主机,在我开始单击链接之前,一切看起来都很完美。 在cloudfoundry v1中,我具有url地址http://controlealu
我已将grails应用程序部署到CloudFoundry。以下代码 GMongo mongo def index() { [databases:mongo.databaseNames] } 引
我正在尝试将一个简单的应用程序推送到 IBMBluemix (Cloudfoundry),但某些文件未拾取。 我有一个包含一些文件的文件夹(index.php、test.html,...)。所有这些都
我的应用程序为端点定义了调度程序来处理任务。该任务具有固定的Threadpool(200)代码并部署在cloud foundry中。我注释掉了调度程序注释并使用端点运行此任务,以了解线程池在 Clou
我一直在使用 grails 开发网站并使用 Cloudfoundry 对其进行演示。 Grails 和 Cloudfoundry 太棒了!在 STS 中的 grails 插件和工具的支持下,它们易于使
我正在尝试在cloudfoundry中为我的项目实现电子邮件服务。有谁了解 cloudfoundry 中一般使用的电子邮件服务以及如何使用吗? 最佳答案 Cloud Foundry 本身目前不支持电子
我需要在我的 springboot 应用程序中指定多个构建包。 我在应用程序的根目录中创建了一个文件 multi-buildpack.yml,我在其中指定了 2 个构建包。 multi-buildpa
我有一个打开两个端口的 CF 应用程序。 AFAIK CF 只能为其中之一创建路由 - 到位于 VCAP_APP_PORT 中的路由。或 PORT .如何创建通往第二个端口的路由?我不介意将单独的名称
我刚刚将我的第一个应用程序部署到 CloudFoundry,并使用了 log4j。当我将应用程序部署到本地 tomcat 服务器时,日志打印得很好,一切正常。但是,当我使用“vmc logs”命令从
我知道 CF 是为在多个云服务上运行而设计的,以实现微服务应用程序的统一 View 。但是,我想在我的 CentOS 本地服务器上安装和运行 cloud Foundry。在其他方面,我想在一台运行 C
我有一个简单的Grails应用程序,当将其部署到本地Tomcat服务器时运行良好。但是,当我部署到Cloudfoundry时,未显示保存到数据库的图像。谷歌搜索解决方案仅显示出,在Cloudfound
我尝试按照 https://github.com/cloudfoundry/uaa 中的说明进行操作,即克隆 github 存储库,然后执行 gradlew run 命令。我在安装了 Java 1.8
有人知道 CloudFoundry 是基于 VMware 的 IaaS 和数据中心,还是基于 AWS EC2 等第三方 IaaS 提供商? 谢谢, 最佳答案 Cloud Foundry 是一个开源平台
我使用 JSP、Spring Security、MySql 开发了一个应用程序。我将其部署在 Cloudfoundry 上。但只是war文件和我绑定(bind)了mysql服务。但我还必须配置由两个表
我是一名优秀的程序员,十分优秀!