apiVersion: v1
kind: Service
metadata:
  name: redis-proxy
spec:
  type: NodePort
  ports:
  - name: redis-proxy
    nodePort: 30001
    port: 6379
    protocol: TCP
    targetPort: 6379
  selector:
    app: redis-proxy