apiVersion: v1
kind: Service
metadata:
  labels:
    app: redis
    app.kubernetes.io/component: metrics
    chart: redis-11.3.4
    heritage: Helm
    release: RELEASE-NAME
  name: RELEASE-NAME-redis-metrics
  namespace: default
spec:
  ports:
  - name: metrics
    port: 9121
    targetPort: metrics
  selector:
    app: redis
    release: RELEASE-NAME
  type: ClusterIP
