2

哈尔版

root@9d4ea3d3c90e:/workdir# hal --version
0.43.0-180317140630

使用 hal 应用配置

root@9d4ea3d3c90e:/workdir# hal deploy apply
+ Get current deployment
  Success
+ Prep deployment
  Success
Problems in default.provider.kubernetes.sandbox-spinnaker:
- WARNING Field KubernetesAccount.kinds not supported for Spinnaker
  version 1.6.0: Configuring kind caching behavior is not supported yet.
? Use at least 1.7.0 (It may not have been released yet).

- WARNING Field KubernetesAccount.omitKinds not supported for
  Spinnaker version 1.6.0: Configuring kind caching behavior is not supported
  yet.
? Use at least 1.7.0 (It may not have been released yet).

+ Preparation complete... deploying Spinnaker
+ Get current deployment
  Success
+ Apply deployment
  Success
+ Run `hal deploy connect` to connect to Spinnaker.

豆荚的状态

$ kubectl get pods
NAME                               READY     STATUS             RESTARTS   AGE
spin-clouddriver-f54b887f-hmnsx    1/1       Running            0          19h
spin-deck-598f8df868-6jlhl         1/1       Running            0          19h
spin-echo-84d9b7d679-whv6n         1/1       Running            0          19h
spin-fiat-78b899d45d-dk767         0/1       CrashLoopBackOff   4          3m
spin-front50-65d476986f-hgnsq      1/1       Running            0          19h
spin-gate-67b6955476-b7dhj         1/1       Running            0          19h
spin-igor-56f7f9b85f-rj7fl         1/1       Running            0          19h
spin-orca-6c4f48cf49-5knlc         1/1       Running            0          19h
spin-redis-69b6cc4c46-vmfhr        1/1       Running            0          5d

来自 spin-fiat 的日志消息

$ kubectl logs spin-fiat-78b899d45d-dk767
...
2018-03-21 17:16:10.472 ERROR 1 --- [           main] o.s.boot.SpringApplication               : [] Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourcesConfig': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'services.front50.baseUrl' in value "${services.front50.baseUrl}"

我不确定为什么自旋法没有开始。

任何有关如何排除故障的提示表示赞赏。

4

1 回答 1

0

此问题已在PR#1511中修复

我建议您将 Spinnaker 升级到 1.20.X 版本。该版本使用新的 Kubernetes V2 提供程序。菲亚特问题也消失了。您必须为这个新的 Spinnaker 版本安装或升级 halyard。

  1. 升级吊索
  2. 将 Spinnaker 升级到 1.20.X 版本
于 2020-05-29T03:50:02.570 回答