prole/conf/port-mappings.properties

65 lines
2.4 KiB
INI

<?xml version="1.0" encoding="UTF-8"?>
<portMappings>
<!--
Each <mapping/> defines one port-forward.
- id: unique key used for pid/log filenames
- namespace: k8s namespace
- target: kubectl-forward target (svc/<name>, deploy/<name>, pod/<name>, etc.)
- address: usually 127.0.0.1 for local-only exposure
- hostPort: host port to bind
- servicePort: pod/service port inside cluster
- protocol: TCP (kubectl port-forward is TCP)
- description: free text
-->
<!-- Kubernetes Dashboard (common install: namespace kubernetes-dashboard, service kubernetes-dashboard on 443) -->
<mapping id="dashboard"
namespace="kubernetes-dashboard"
target="svc/kubernetes-dashboard-kong-proxy"
address="127.0.0.1"
hostPort="8443"
servicePort="443"
protocol="TCP"
description="Kubernetes Dashboard (https://127.0.0.1:8443)"/>
<!-- Prometheus (common: monitoring namespace; service name varies by stack) -->
<mapping id="prometheus"
namespace="${NAMESPACE}"
target="svc/prometheus-community-kube-prometheus"
address="127.0.0.1"
hostPort="9090"
servicePort="9090"
protocol="TCP"
description="Prometheus UI (http://127.0.0.1:9090)"/>
<!-- Grafana (common: monitoring namespace; service grafana on 3000) -->
<mapping id="grafana"
namespace="${NAMESPACE}"
target="svc/prometheus-community-grafana"
address="127.0.0.1"
hostPort="3000"
servicePort="80"
protocol="TCP"
description="Grafana UI (http://127.0.0.1:3000)"/>
<!-- PostgreSQL (service name varies; remote port usually 5432) -->
<mapping id="postgres"
namespace="${NAMESPACE}"
target="svc/prole-db-rw"
address="0.0.0.0"
hostPort="5432"
servicePort="5432"
protocol="TCP"
description="PostgreSQL (127.0.0.1:5432)"/>
<!-- OpenBao (Vault-compatible) API -->
<mapping id="openbao"
namespace="${NAMESPACE}"
target="svc/openbao"
address="127.0.0.1"
hostPort="18200"
servicePort="8200"
protocol="TCP"
description="OpenBao (http://127.0.0.1:18200)"/>
</portMappings>