diff --git a/kubernetes/infrastructure/prometheus/app/ingress.yaml b/kubernetes/infrastructure/prometheus/app/ingress.yaml index bbc5d82..08f898d 100644 --- a/kubernetes/infrastructure/prometheus/app/ingress.yaml +++ b/kubernetes/infrastructure/prometheus/app/ingress.yaml @@ -18,7 +18,7 @@ spec: service: name: prometheus port: - number: 30999 + number: 9999 - host: "prometheus.cluster.local" http: paths: @@ -28,4 +28,4 @@ spec: service: name: prometheus port: - number: 30999 \ No newline at end of file + number: 9999 \ No newline at end of file diff --git a/kubernetes/infrastructure/prometheus/app/service.yaml b/kubernetes/infrastructure/prometheus/app/service.yaml index e87e722..3079b83 100644 --- a/kubernetes/infrastructure/prometheus/app/service.yaml +++ b/kubernetes/infrastructure/prometheus/app/service.yaml @@ -9,8 +9,7 @@ metadata: spec: selector: app: prometheus - type: NodePort + type: ClusterIP ports: - port: 9999 - targetPort: 9999 - nodePort: 30999 \ No newline at end of file + targetPort: 9999 \ No newline at end of file