homelab/archive/2022.07.bxl-k3s-pi/utils/monitoring/pormetheus-adapter/prometheusAdapter-service.yaml

20 lines
501 B
YAML
Raw Permalink Normal View History

2023-04-16 15:04:06 +02:00
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: metrics-adapter
app.kubernetes.io/name: prometheus-adapter
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.9.1
name: prometheus-adapter
namespace: monitoring
spec:
ports:
- name: https
port: 443
targetPort: 6443
selector:
app.kubernetes.io/component: metrics-adapter
app.kubernetes.io/name: prometheus-adapter
app.kubernetes.io/part-of: kube-prometheus