2023-11-13 13:46:50 UTC | CORE | ERROR | (pkg/collector/python/kubeutil.go:41 in getConnections) | connection to kubelet failed: temporary failure in kubeutil, will retry later: impossible to reach Kubelet with host: 192.168.122.191. Please check if your setup requires kubelet_tls_verify = false. Activate debug logs to see all attempts made
2023-11-13 13:46:50 UTC | CORE | ERROR | (pkg/collector/worker/check_logger.go:69 in Error) | check:kubelet | Error running check: [{"message": "Unable to detect the kubelet URL automatically: impossible to reach Kubelet with host: 192.168.122.191. Please check if your setup requires kubelet_tls_verify = false. Activate debug logs to see all attempts made", "traceback": "Traceback (most recent call last):\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py\", line 1116, in run\n self.check(instance)\n File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/kubelet/kubelet.py\", line 311, in check\n raise CheckException(\"Unable to detect the kubelet URL automatically: \" + kubelet_conn_info.get('err', ''))\ndatadog_checks.base.errors.CheckException: Unable to detect the kubelet URL automatically: impossible to reach Kubelet with host: 192.168.122.191. Please check if your setup requires kubelet_tls_verify = false. Activate debug logs to see all attempts made\n"}]
2023-11-13 13:46:50 UTC | CORE | INFO | (pkg/collector/worker/check_logger.go:57 in CheckFinished) | check:kubelet | Done running check, next runs will be logged every 500 runs
위와 같이 kubelet이 자동으로 discovery를 할 수 없다고 한다. tls.. 어쩌고..
이때는 datadog Daemon Set을 수정해야 한다.
$ kubectl edit ds datadog-agent
DD_KUBELET_TLS_VERIFY 의 값을 "false"로 바꾸자
'PaaS > 모니터링·로깅' 카테고리의 다른 글
(DataDog) Dashboard 메뉴 설명 (0) | 2023.11.14 |
---|---|
(DataDog) Infrastructure 메뉴 설명 (0) | 2023.11.14 |
DataDog 오류 : unable to reliably determine the host name (0) | 2023.11.13 |
DataDog kubernetes 배포 시작하기 (0) | 2023.11.13 |
EventDrivenDesign에서 OpenTelemetry 의 중요성 (1) | 2023.11.03 |