https://prefect.io logo
m

M Taufik

01/13/2021, 4:22 AM
Hi I'm trying to create ingress for graphql in K8s cluster, but the prefect UI can't reach the graphql ingress ip. is there anyone have successful expose graphql using K8s ingress? Thank you
but i can access directly from my browser
here is ingress configuration
Copy code
---
apiVersion: "extensions/v1beta1"
kind: "Ingress"
metadata:
  name: "prefect-graphql-prd"
  annotations:
    <http://nginx.ingress.kubernetes.io/rewrite-target|nginx.ingress.kubernetes.io/rewrite-target>: /
    <http://kubernetes.io/ingress.global-static-ip-name|kubernetes.io/ingress.global-static-ip-name>: prefect-prd-graphql-external
spec:
  rules:
  - http:
      paths:
      - path: /graphql
        backend:
          serviceName: prefect-prd-apollo
          servicePort: 4200
nvm - the issue has been solved