Spinnaker Canary 分析阶段缺少资源类型下拉列表

Missing Resource Type Dropdown in Spinnaker Canary Analysis Stage

我正在尝试使用步骤 here 在 On-Prem Kubernetes 集群中为我的应用程序 运行 设置自动金丝雀分析 .我们正在为 monitoring/metrics 使用普罗米修斯。

当 运行 管道时,我在 Canary Analysis 阶段遇到以下错误:

Either a resource type or a custom filter is required.

问题是添加舞台时 Canary Analysis 表单上的 Resource Type 下拉列表不可用。根据 Spinnaker how-to article 和上面文章中的屏幕截图,Resource Type 下拉菜单应该在那里。

知道为什么 Resource Type 在 Canary Analysis 表单上不可用吗?我是否缺少一些 Halyard 配置?

这是我的 Halyard 配置(未显示 bash 个变量):

hal config version edit --version 1.10.5

echo $MINIO_PWD | hal config storage s3 edit --endpoint http://minio-service.spinnaker.svc.cluster.local:9001/ --bucket data --access-key-id spinnaker-minio --secret-access-key
hal config storage edit --type s3

hal config canary enable
hal config canary prometheus enable
hal config canary prometheus account add $PROMETHEUS_ACCT --base-url http://$PROMETHEUS_URL:9090
hal config canary edit --show-all-configs-enabled false
hal config canary edit --default-metrics-store prometheus
hal config canary edit --default-metrics-account $PROMETHEUS_ACCT

hal config canary aws enable
echo $MINIO_PWD | hal config canary aws account add $AWS_CANARY_ACCT --bucket canary-data --access-key-id spinnaker-minio --endpoint http://minio-service.spinnaker.svc.cluster.local:9001/ --secret-access-key
hal config canary aws edit --s3-enabled=true
hal config canary edit --default-storage-account $AWS_CANARY_ACCT

hal config provider docker-registry enable
hal config provider docker-registry account add $DOCKER_REGISTRY_ACCOUNT --address $DOCKER_REGISTRY_ADDRESS
echo $DOCKER_HUB_PWD | hal config provider docker-registry account edit $DOCKER_REGISTRY_ACCOUNT --username $DOCKER_REGISTRY_ACCOUNT --address $DOCKER_REGISTRY_ADDRESS --add-repository $DOCKER_REGISTRY_REPOSITORY --password

hal config provider kubernetes enable
hal config provider kubernetes account delete k8s-account
hal config provider kubernetes account add k8s-account --context kubernetes-admin@kubernetes --docker-registries $DOCKER_REGISTRY_ACCOUNT --namespaces $K8S_NAMESPACES

hal config deploy edit --type distributed --account-name k8s-account
hal deploy apply

我能够通过在金丝雀配置的指标中添加过滤器模板来解决这个问题。添加此

后,金丝雀分析任务能够 运行 没有错误