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