쿠버네티스
[쿠버네티스] 링커디 그라파나 연동 에러
IntegerString
2023. 7. 6. 11:07
문제 상황
linkerd의 도큐먼트를 따라 linkerd-viz 및 grafana를 설치 후 linkerd-viz 대시보드에서 grafana 아이콘이 뜨는 것을 확인했지만 막상 grafana를 열어보면 메트릭들이 N/A만 나오는 상황
linkerd-prometheus의 로그를 확인 시 unauthorized connection on server proxy-admin라고 나옴
해결
아래의 리소스를 추가해주니 해결됨
apiVersion: policy.linkerd.io/v1beta1
kind: ServerAuthorization
metadata:
name: yolo
namespace: linkerd-viz
spec:
client:
unauthenticated: true
networks:
- cidr: 0.0.0.0/0
server:
selector:
matchLabels: {}
참고: https://github.com/linkerd/linkerd2/issues/7233
All linkerd-viz pods in CrashLoopBackOff · Issue #7233 · linkerd/linkerd2
Bug Report What is the issue? All the pods for linkerd-viz are stuck in a restart loop, flipping between CrashLoopBackOff and Running root@hel1-k1:~/linkerd-demo# kubectl get pods -n linkerd-viz NA...
github.com