apiVersion: v1
kind: Service
metadata:
  name: myredis
  labels:
    run: myredis
  namespace: labgke     # <<<---- YOUR NAMESPACE
spec:
  ports:
  - port: 6379
    targetPort: 6379
    protocol: TCP
  selector:
    app: myredis