-
Notifications
You must be signed in to change notification settings - Fork 0
chore: Platform Chart 내부로 모니터링 구성 통합 #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
42 changes: 0 additions & 42 deletions
42
k8s-argocd/applications/prod/platform/monitoring-httproute.yaml
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
k8s-helm/platform-chart/templates/monitoring/grafana-httproute.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| {{- if .Values.monitoring.grafana.enabled }} | ||
| # Grafana HTTPRoute | ||
| apiVersion: gateway.networking.k8s.io/v1 | ||
| kind: HTTPRoute | ||
| metadata: | ||
| name: grafana | ||
| namespace: {{ .Values.monitoring.namespace }} | ||
| spec: | ||
| parentRefs: | ||
| - name: {{ .Values.gateway.name }} | ||
| namespace: {{ .Values.gateway.namespace }} | ||
|
|
||
| # 도메인 명 | ||
| hostnames: | ||
| - {{ .Values.monitoring.grafana.domain | quote }} | ||
|
|
||
| # 라우팅 규칙 | ||
| rules: | ||
| - matches: | ||
| - path: | ||
| type: PathPrefix | ||
| value: / | ||
| backendRefs: | ||
| - name: {{ .Values.monitoring.grafana.serviceName }} | ||
| port: {{ .Values.monitoring.grafana.servicePort }} | ||
| {{- end }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: PinHouse/PinHouse_CLOUD
Length of output: 10274
🏁 Script executed:
Repository: PinHouse/PinHouse_CLOUD
Length of output: 998
🏁 Script executed:
Repository: PinHouse/PinHouse_CLOUD
Length of output: 1574
🏁 Script executed:
Repository: PinHouse/PinHouse_CLOUD
Length of output: 133
🏁 Script executed:
Repository: PinHouse/PinHouse_CLOUD
Length of output: 4519
🏁 Script executed:
Repository: PinHouse/PinHouse_CLOUD
Length of output: 436
🏁 Script executed:
Repository: PinHouse/PinHouse_CLOUD
Length of output: 736
🏁 Script executed:
Repository: PinHouse/PinHouse_CLOUD
Length of output: 1309
serviceName값이 실제 Grafana Service 이름과 일치하지 않습니다. HTTPRoute 백엔드가 실패하게 됩니다.현재 설정:
monitoring-core{{ releaseName }}-kube-prome-{{ component }}monitoring-core-kube-prome-grafana그런데 platform-chart의 values 파일에는:
serviceName: pinhouse-monitoring-core-grafana이 값으로 인해 HTTPRoute가 존재하지 않는 백엔드 서비스를 찾게 되어 런타임에 503 에러가 발생합니다.
수정 필요:
serviceName을monitoring-core-kube-prome-grafana로 변경하거나, monitoring-core 릴리스의 fullnameOverride를pinhouse-monitoring-core로 설정하세요.🤖 Prompt for AI Agents