【问题标题】:Stackdriver adapter for istio - Helm installation用于 istio 的 Stackdriver 适配器 - Helm 安装
【发布时间】:2019-07-17 09:49:50
【问题描述】:

我刚刚使用Helm 安装了istio,并通过values.yaml 文件启用了一些适配器。我已成功启用 grafana、prometheus 和 kiali,但由于某些原因,stackdriver adpater 无法正常工作,而且此适配器似乎没有发生任何事情。

values.yaml 文件中,我刚刚设置了以下内容:

    # If using stackdriver tracer outside GCP, set env GOOGLE_APPLICATION_CREDENTIALS to the GCP credential file.
    tracer: "stackdriver"

还有其他事情要做吗?

【问题讨论】:

    标签: kubernetes-helm istio google-cloud-stackdriver


    【解决方案1】:

    如果堆栈没有在 GCP 上运行,那么您需要在将数据推送到 Stackdriver 之前进行身份验证。

    The adapter expectsService Account credentials的内容可以设置为环境变量GOOGLE_APPLICATION_CREDENTIALS或者Service Account JSON文件所在的路径。

    istio.io 博客 repo 看来,your case needs the credentials passed as environment variable 而不是路径。

    【讨论】:

    • 太好了,谢谢。我错过了这个身份验证部分。
    猜你喜欢
    • 1970-01-01
    • 2019-07-09
    • 2019-03-22
    • 2021-07-07
    • 2021-12-24
    • 2019-07-14
    • 2021-08-07
    • 2013-05-09
    • 2013-01-16
    相关资源
    最近更新 更多