如何将kayentacanary部署配置到几个k8s集群



环境详细信息:

  1. 几个k8s集群:通过二进制包部署
  2. 云提供商:kubernetes提供商v2
  3. kayenta吊舱:运行

错误详细信息:

  • 无法保存canary配置:错误400帖子http://gate/v2/canaryConfig
  • 只有gce和aws资源类型可用,但我没有它们中的任何一个云提供商

在此处输入图像描述

这是我的金丝雀配置:

canary:
enabled: true
serviceIntegrations:
- name: google
enabled: false
accounts: []
gcsEnabled: false
stackdriverEnabled: false
- name: prometheus
enabled: true
accounts:
- name: my-prometheus
endpoint:
baseUrl: <http://prometheus-svc.namespace:port>
supportedTypes:
- METRICS_STORE
- name: datadog
enabled: false
accounts: []
- name: signalfx
enabled: false
accounts: []
- name: aws
enabled: true
accounts:
- name: my-minio
bucket: spin-b81fd9b0-5ca9-456f-895a-efbd31612f80
rootFolder: kayenta
endpoint: <http://my-minio-svc.namespace:9000>
accessKeyId: <miniokey>
secretAccessKey: <miniosecret>
supportedTypes:
- CONFIGURATION_STORE
- OBJECT_STORE
s3Enabled: true
- name: newrelic
enabled: false
accounts: []
reduxLoggerEnabled: true
defaultMetricsAccount: my-prometheus-account
defaultStorageAccount: my-minio
defaultJudge: NetflixACAJudge-v1.0
defaultMetricsStore: prometheus
stagesEnabled: true
templatesEnabled: true
showAllConfigsEnabled: true

Canary阶段失败详细信息:https://github.com/spinnaker/spinnaker/issues/5639

如果您在尝试保存"Canary config"时看到以下错误保存配置时出错:400,请添加以下设置:

货场

在.hal/default/profiles/gate-local.yml中,添加以下片段:

services:
kayenta:
canaryConfigStore: true

操作员

在SpinnakerService清单中,添加以下片段:

apiVersion: spinnaker.armory.io/v1alpha2
kind: SpinnakerService
metadata:
name: spinnaker
spec:
spinnakerConfig:
profiles:
gate:
services:
kayenta:
canaryConfigStore: true

资源:https://docs.armory.io/docs/spinnaker-user-guides/canary/kayenta-canary-use/

相关内容

  • 没有找到相关文章

最新更新