1

使用以下命令在 ubuntu 14.04 机器上通过 halyard 安装大三角帆。

hal version list
VERSION=1.4.2
hal config version edit --version $VERSION
sudo hal deploy apply
hal deploy connect

但甲板没有在端口 9000 上监听,netstat -l 没有显示端口 9000。检查了大三角帆日志,它们没有任何错误。

虽然 /opt/spinnaker/config/spinnaker.yml 有正确的甲板配置

deck:  
   port: 9000   
   address: localhost  
   host: localhost  
   scheme: http  
   env: {}  
   artifactId: spinnaker-deck=1.6.2-20171002182452  
   kubernetes:  
     imagePullSecrets: []  
   enabled: true  
   monitored: false  
   sidecar: false  
   safeToUpdate: true  
   targetSize: 1  
   skipLiveCycleManagement: false  
   baseUrl: http://localhost:9000  

apache2/port.conf 也有这个
Listen localhost:9000

有没有办法找出问题所在并提出问题?

4

1 回答 1

0

我也遇到了同样的问题,直到我在运行时在控制台上看到一些奇怪的东西hal deploy apply。apache无法重新加载存在一些问题:

Setting up ssl-cert (1.0.33) ... Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for ufw (0.34~rc-0ubuntu2) ... Setting up spinnaker-deck (2.0.0-20171108151529) ... Processing triggers for libc-bin (2.19-0ubuntu6.13) ... null: unrecognized service Enabling site spinnaker. To activate the new configuration, you need to run: service apache2 reload Site 000-default disabled. To activate the new configuration, you need to run: service apache2 reload Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: spinnaker-front50 0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.

我手动重新加载了 apache,之后我可以看到甲板在端口 9000 上监听。我们创建了一个未解决的问题:https
://github.com/spinnaker/spinnaker/issues/2210 希望这会有所帮助。

于 2017-12-28T21:26:41.090 回答