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