mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
16 lines
294 B
YAML
16 lines
294 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: ingress-nginx
|
||
|
name: nginx-ingress-metrics
|
||
|
namespace: ingress-nginx
|
||
|
spec:
|
||
|
clusterIP: None
|
||
|
ports:
|
||
|
- name: prometheus
|
||
|
port: 10254
|
||
|
targetPort: 10254
|
||
|
selector:
|
||
|
app.kubernetes.io/name: ingress-nginx
|