Cleanup and added Prometheus metric port
This commit is contained in:
parent
7281fb238f
commit
8faef8f8d8
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -1,7 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
|
|
||||||
configMapGenerator:
|
|
||||||
- name: mysql-initdb
|
|
||||||
files:
|
|
||||||
- initdb/app_database.sql
|
|
||||||
Loading…
x
Reference in New Issue
Block a user