首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Anthos服务网格度量

Anthos服务网格度量
EN

Stack Overflow用户
提问于 2020-07-01 16:05:12
回答 1查看 463关注 0票数 1

我最近部署了,开始使用一种用于部署GKE和Istio的统包方法。到目前为止还不错,但我看到的一个问题是,豆荚的基本指标(CPU、内存和磁盘)没有出现。

当我查看prometheus吊舱的日志时,我看到以下错误:

代码语言:javascript
复制
Error while sending request to Stackdriver googleapi: Error 403: Permission monitoring.timeSeries.create denied (or the resource may not exist)., forbidden

类似的误差与流利的gke吊舱。

代码语言:javascript
复制
Unable to export to Monitoring service because: GaxError RPC failed, caused by 7:Permission monitoring.timeSeries.create denied (or the resource may not exist).

我尝试将GCP SA的工作负载标识权限调整为KSA映射,但没有成功。还有人碰到这个吗?

这些是我一直遵循的指示。

https://cloud.google.com/service-mesh/docs/gke-anthos-cli-new-cluster

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-07-02 13:53:16

结果显示,在主机网络设置为true的情况下,工作负载标识不适用于pod。人们可能会认为,对于吊舱和计算节点的基本监视将被开箱即用。

解决这一问题的两个选项:

代码语言:javascript
复制
1.) Update the default compute engine account with the following roles:
-roles/logging.logWriter
-roles/monitoring.metricWriter
-roles/monitoring.viewer

2.) Deploy the node pools with a custom service account with the aforementioned roles.

为了让事情进展顺利,我使用了选项1。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62680885

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档