我在 kubernetes 集群中设置了 datadog 跟踪客户端来监视我部署的应用程序。它在 kubernetes 版本 1.15x 上运行良好,但当我将版本升级到 1.16x 时,该服务本身就没有显示在 Datadog 仪表板中。
目前使用:
库伯内特斯 1.16.9
数据狗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) 尝试部署应用程序时出现如下错误:
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 服务
我正在尝试使用以下命令查看现有舵图的详细信息(值等):
helm show values xxx -n namespace
出现错误:
failed to download "xxx" (hint: running `helm repo update` may help)
我应该怎么做才能解决这个问题?
kubernetes ×3
azure ×2
java ×2
azure-aks ×1
azure-devops ×1
containers ×1
datadog ×1
deployment ×1
docker ×1
kubectl ×1