[英]How to forword firefox running in vagrant machine to local machine?
[英]How to deploy app in cloudfoundry running on vagrant using bosh-lite?
我想在本地無業游民的計算機上運行的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”嘗試使用cloud check命令,並查看是否可以恢復它們。
一旦啟動並運行它們,請嘗試:“ cf api https://api.bosh-lite.com --skip-ssl-validation”
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.