update ports
This commit is contained in:
@@ -26,7 +26,7 @@ spec:
|
|||||||
- "--config.file=/etc/prometheus/prometheus.yaml"
|
- "--config.file=/etc/prometheus/prometheus.yaml"
|
||||||
- "--storage.tsdb.path=/prometheus/"
|
- "--storage.tsdb.path=/prometheus/"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9999
|
- containerPort: 9090
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: prometheus
|
namespace: prometheus
|
||||||
annotations:
|
annotations:
|
||||||
prometheus.io/scrape: 'true'
|
prometheus.io/scrape: 'true'
|
||||||
|
prometheus.io/path: '/data/metrics'
|
||||||
prometheus.io/port: '9999'
|
prometheus.io/port: '9999'
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
@@ -12,4 +13,6 @@ spec:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
- port: 9999
|
- port: 9999
|
||||||
targetPort: 9999
|
targetPort: 9090
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
Reference in New Issue
Block a user