小编San*_*ngh的帖子

无法自动检测 kubelet URL:datadog_checks.base.errors.CheckException

我在 kubernetes 集群中设置了 datadog 跟踪客户端来监视我部署的应用程序。它在 kubernetes 版本 1.15x 上运行良好,但当我将版本升级到 1.16x 时,该服务本身就没有显示在 Datadog 仪表板中。

目前使用:

  1. 库伯内特斯 1.16.9

  2. 数据狗0.52.0

检查代理状态时。它给出以下异常:

Instance ID: kubelet:xxxxxxxxxxxxx [ERROR]
      Configuration Source: file:/etc/datadog-agent/conf.d/kubelet.d/conf.yaml.default
      Total Runs: 12,453
      Metric Samples: Last Run: 0, Total: 0
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 5ms
      Last Execution Date : 2020-06-19 15:18:19.000000 UTC
      Last Successful Execution Date : Never
      Error: Unable to detect the kubelet URL automatically.
      Traceback (most recent call last):
        File …
Run Code Online (Sandbox Code Playgroud)

java azure docker kubernetes datadog

4
推荐指数
1
解决办法
4127
查看次数

无法从 Kubernetes 获取 apiVersions:无法检索服务器 API 的完整列表

尝试部署应用程序时出现如下错误:

Error: UPGRADE FAILED: could not get apiVersions from Kubernetes: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request
Run Code Online (Sandbox Code Playgroud)

输出kubectl api-resources包含一些资源以及最终的相同错误。

环境:Azure 云、AKS 服务

azure kubernetes azure-devops kubectl azure-aks

4
推荐指数
1
解决办法
6572
查看次数

错误:无法下载“xxx”(提示:运行 `helm repo update` 可能会有所帮助)

我正在尝试使用以下命令查看现有舵图的详细信息(值等):

helm show values xxx -n namespace

出现错误:

failed to download "xxx" (hint: running `helm repo update` may help)

我应该怎么做才能解决这个问题?

java deployment containers kubernetes kubernetes-helm

3
推荐指数
1
解决办法
6265
查看次数