Cleanup and added Prometheus metric port

This commit is contained in:
florian 2025-10-08 19:37:49 +02:00
parent 7281fb238f
commit 8faef8f8d8
3 changed files with 12 additions and 7 deletions

View File

@ -11,4 +11,10 @@ spec:
port: 8101 port: 8101
targetPort: 8101 targetPort: 8101
nodePort: 30101 nodePort: 30101
name: fastapi
- protocol: TCP
port: 9000
targetPort: 9000
nodePort: 30900
name: prometheus-metrics
type: NodePort type: NodePort

View File

@ -11,4 +11,10 @@ spec:
port: 8100 port: 8100
targetPort: 8100 targetPort: 8100
nodePort: 30100 nodePort: 30100
name: fastapi
- protocol: TCP
port: 9000
targetPort: 9000
nodePort: 30900
name: prometheus-metrics
type: NodePort type: NodePort

View File

@ -1,7 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
configMapGenerator:
- name: mysql-initdb
files:
- initdb/app_database.sql