Kubernetes Slack Webhook 오류 502에서 실행 중인 Grafana (Grafana running in Kubernetes Slack Webhook Error 502)


문제 설명

Kubernetes Slack Webhook 오류 502에서 실행 중인 Grafana (Grafana running in Kubernetes Slack Webhook Error 502)

GKE(Kubernetes)에서 실행되도록 Grafana를 설정하고 서비스와 기본 Ingress 컨트롤러를 사용하여 인터넷에 엽니다. 모든 것이 문제 없이 작동합니다.

일부 대시보드를 만든 후 slack webhook을 사용하여 Slack 경고를 설정하고 싶었습니다. 모든 세부 정보를 입력한 후 502 불량 게이트웨이 오류가 발생했습니다.

포트 443(기본 슬랙 웹훅 포트)을 여는 두 번째 서비스를 설정하고 kubectl 노출 배포 ‑‑type으로 노출했습니다. =NodePort ‑‑port=443‑‑type=LoadBalancer도 운 없이 시도했습니다.

두 번째 Ingress 서비스 포인팅 설정도 시도했습니다. 두 번째 서비스를 사용했지만 readinessProbe 문제가 발생했습니다.

같은 문제를 겪은 사람이 있으며 그렇다면 어떻게 해결되었나요?


참조 솔루션

방법 1:

Network Policy was enabled on the cluster and there were cluster policies denying outgoing traffic. After setting up my network policies for the pods in my own namespace I was able to connect without any issues.

(by PietervdwPietervdw)

참조 문서

  1. Grafana running in Kubernetes Slack Webhook Error 502 (CC BY‑SA 2.5/3.0/4.0)

#google-kubernetes-engine #slack #grafana #kubernetes






관련 질문

보안 비밀에 대한 Google 클라우드 컨테이너 클러스터 환경 변수 (Google cloud container cluster environmental variables for secrets)

GKE에서 로컬 레지스트리 이미지를 삭제할 수 없습니다. (Unable to delete local registry images in GKE)

k8s 클러스터용 NAT 게이트웨이 IP가 포드에 반영되지 않음 (NAT Gateway IP for k8s cluster not reflected in pods)

GKE에서 scale-down-utilization-threshold를 정의할 수 있나요? (Is definining scale-down-utilization-threshold on GKE possible?)

GKE 노드당 최대 영구 디스크 (GKE Maximum persistent disks per node)

내 Google Kubernetes 클러스터로 Kubectl 컨텍스트를 변경할 수 없음 (Unable to Change Kubectl Context to my Google Kubernetes Cluster)

오염되지 않은 노드로 예약된 Kubernetes 포드 (Kubernetes pods scheduled to non-tainted node)

SPIFFE/SPIRE 서버를 GKE의 모든 노드에 설치할 수 있나요? (Can SPIFFE/SPIRE Server be installed on GKE's any node?)

Kubernetes LoadBalancer에 TSL을 추가하는 동시에 컨테이너로 수명이 긴 TCP 연결 전달도 지원합니다. (Adding TSL to a Kubernetes LoadBalancer while also supporting forwarding a long lived TCP connection to a container)

클러스터 초기화 대기 시간이 초과되었습니다. 노드 자동 업그레이드가 실패하거나 오류와 함께 실행됩니다. (Timed out waiting for cluster initialization, Auto upgrade of nodes fail / or Run with error)

Kubernetes Slack Webhook 오류 502에서 실행 중인 Grafana (Grafana running in Kubernetes Slack Webhook Error 502)

Kubernetes 네트워크 정책 - 트래픽이 특정 포트를 통해서만 서비스되도록 허용 (Kubernetes Network Policy - Allowing traffic to service over specific port only)







코멘트