update prometheus port config
This commit is contained in:
@@ -1,51 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: prometheus-ingress
|
|
||||||
namespace: prometheus
|
|
||||||
annotations:
|
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
|
||||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
|
||||||
spec:
|
|
||||||
ingressClassName: nginx
|
|
||||||
rules:
|
|
||||||
- host: "prometheus.cluster.edward.sydney"
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
path: "/"
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: prometheus
|
|
||||||
port:
|
|
||||||
number: 9999
|
|
||||||
- host: "prometheus.cluster.local"
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
path: "/"
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: prometheus
|
|
||||||
port:
|
|
||||||
number: 9999
|
|
||||||
- host: "grafana.cluster.edward.sydney"
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
path: "/"
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: prometheus
|
|
||||||
port:
|
|
||||||
number: 3030
|
|
||||||
- host: "grafana.cluster.local"
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
path: "/"
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: prometheus
|
|
||||||
port:
|
|
||||||
number: 3030
|
|
||||||
@@ -9,12 +9,14 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: prometheus
|
app: prometheus
|
||||||
type: ClusterIP
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 9999
|
- port: 9999
|
||||||
targetPort: 9090
|
targetPort: 9090
|
||||||
|
nodePort: 30999
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
- name: grafana-port
|
- name: grafana-port
|
||||||
port: 3030
|
port: 3030
|
||||||
|
nodePort: 30303
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
Reference in New Issue
Block a user