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.0 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