apiVersion: v1
kind: Service
metadata:
  name: redis
  labels:
    app: redis
spec:
  type: "ClusterIP"
  ports:
    - name: "http"
      protocol: "TCP"
      port: 6379
      targetPort: 6379
  selector:
    app: redis
