Cloud foundry 只能针对Bosh Lite控制器。请使用';波什目标公司';在运行此脚本之前
我使用bosh/microbosh安装了Cloud Foundry。现在我正在尝试使用 运行Cloud foundry 只能针对Bosh Lite控制器。请使用';波什目标公司';在运行此脚本之前,cloud-foundry,cf-bosh,Cloud Foundry,Cf Bosh,我使用bosh/microbosh安装了Cloud Foundry。现在我正在尝试使用 运行/make_manifest warden时,我收到错误: Can only target Bosh Lite Director. Please use 'bosh target' before running this script. 我已将目标设定为192.168.0.5: $ bosh target Current target is https://192.168.0.5:25555 (vms-
/make_manifest warden
时,我收到错误:
Can only target Bosh Lite Director. Please use 'bosh target' before running this script.
我已将目标设定为192.168.0.5:
$ bosh target
Current target is https://192.168.0.5:25555 (vms-dev2)
我打开了make_manifest
文件,发现它支持aws、vsphere和warden。在典狱长的情况下,它寻找的董事名称是“Bosh Lite董事”。在我的例子中,是bosh主管的名字是“vms-dev2”
我使用BOSH而不是BOSH Lite安装了Cloud Foundry。此Cloud Foundry管理UI版本是否仅在BOSH Lite中受支持,而在BOSH中不受支持?我创建了部署文件,它对我来说运行良好
<%
load '/opt/installer/tenant-devtest1/cf-deploy/cf-settings.rb'
%>
name: <%= $deployment_name %>
director_uuid: 0de3e7b2-4e02-4149-bb79-980c1fe19f74
releases:
- {name: admin-ui, version: 6}
networks:
- name: ccc-bosh-net1
type: dynamic
cloud_properties:
net_id: <%= $bosh_net_id %>
security_groups:
- cfoundry
- bosh
- default
resource_pools:
- name: small
network: ccc-bosh-net1
stemcell:
name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw
version: <%= $stemcell_version %>
cloud_properties:
instance_type: Micro-Small
compilation:
workers: 2
network: ccc-bosh-net1
cloud_properties:
instance_type: Micro-Small
update:
canaries: 0
canary_watch_time: 30000-600000
update_watch_time: 30000-600000
max_in_flight: 4
serial: true
jobs:
- name: admin_ui
template: admin_ui
instances: 1
resource_pool: small
persistent_disk: 5120
networks:
- name: ccc-bosh-net1
- name: register_admin_ui
template: register_admin_ui
instances: 1
resource_pool: small
lifecycle: errand
networks:
- name: ccc-bosh-net1
- name: deregister_admin_ui
template: deregister_admin_ui
instances: 1
resource_pool: small
lifecycle: errand
networks:
- name: ccc-bosh-net1
properties:
cc:
srv_api_uri: <%= $protocol %>://api.<%= $root_domain %>
system_domain: <%= $root_domain %>
uaa:
url: <%= $protocol %>://uaa.<%= $root_domain %>
admin:
client_secret: <%= $common_password %>
admin_ui:
cloud_controller_uri: <%= $protocol %>://api.<%= $root_domain %>
cloud_controller_ssl_verify_none: true
uri: <%= $protocol %>://admin.<%= $root_domain %>
users: ~
uaa:
url: <%= $protocol %>://uaa.<%= $root_domain %>
admin_client_secret: <%= $common_password %>
client:
id: admin_ui_client
secret: <%= $common_password %>
scopes:
admin: ~
user: ~
ccdb:
scheme: postgres
address: 0.cloud-controller.ccc-bosh-net.<%= $deployment_name %>.microbosh
port: 5524
username: ccadmin
password: <%= $common_password %>
database: ccdb
uaadb:
scheme: postgresql
address: 0.cloud-controller.ccc-bosh-net.<%= $deployment_name %>.microbosh
port: 5524
username: uaaadmin
password: <%= $common_password %>
database: uaadb
ssl:
skip_cert_verify: true
networks:
apps: ccc-bosh-net1
nats:
user: nats
password: <%= $common_password %>
address: 0.cloud-controller.ccc-bosh-net.<%= $deployment_name %>.microbosh
port: 4222
姓名:
导演:0de3e7b2-4e02-4149-bb79-980c1fe19f74
发布:
-{名称:管理ui,版本:6}
网络:
-名称:ccc-bosh-net1
类型:动态
云计算属性:
网络标识:
安全组:
-基金会
-波什
-违约
资源池:
-姓名:small
网络:ccc-bosh-net1
干细胞:
名称:bosh-openstack-kvm-ubuntu-trusty-go_agent-raw
版本:
云计算属性:
实例类型:微型小型
汇编:
工人:2名
网络:ccc-bosh-net1
云计算属性:
实例类型:微型小型
更新:
金丝雀:0
金丝雀手表时间:30000-600000
更新时间:30000-600000
最大飞行时间:4小时
连载:对
工作:
-姓名:admin_ui
模板:管理用户界面
实例:1
资源池:小型
永久磁盘:5120
网络:
-名称:ccc-bosh-net1
-名称:注册\管理\用户界面
模板:注册\管理\用户界面
实例:1
资源池:小型
生命周期:差事
网络:
-名称:ccc-bosh-net1
-名称:注销者\管理\用户界面
模板:取消注册\u管理\u用户界面
实例:1
资源池:小型
生命周期:差事
网络:
-名称:ccc-bosh-net1
特性:
复写的副本:
srv_api_uri:://api。
系统域:
阿拉伯联合酋长国:
url:://uaa。
管理员:
客户机密:
管理员界面:
云控制器uri:://api。
云\u控制器\u ssl\u验证\u无:真
uri:://管理员。
用户:~
阿拉伯联合酋长国:
url:://uaa。
管理员\客户\机密:
客户:
id:管理员用户界面客户端
秘密:
范围:
管理员:~
用户:~
建行:
计划:深造
地址:0.cloud controller.ccc bosh net..microbosh
港口:5524
用户名:ccadmin
密码:
数据库:ccdb
uaadb:
方案:postgresql
地址:0.cloud controller.ccc bosh net..microbosh
港口:5524
用户名:uaaadmin
密码:
数据库:uaadb
ssl:
跳过证书验证:真
网络:
应用程序:ccc-bosh-net1
nats:
用户:nats
密码:
地址:0.cloud controller.ccc bosh net..microbosh
港口:4222
如果您没有使用BOSH Lite,则不要使用/make_manifest warden
。如果您使用BOSH部署到AWS,则使用/make\u manifest AWS
。如果使用BOSH部署到vSphere,请使用/make\u manifest vSphere
。如果部署到不同的IaaS,如OpenStack,则可能需要手动构建清单。您可以在GitHub repo上打开一个问题,维护人员应该能够指导您创建清单。谢谢@AmitKumarGupta。是的,我需要为管理员ui创建清单(.yml)。