I’m deploying on gke and this is my ingress-service:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-service
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
cert-manager.io/issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
# tls:
# - hosts:
# - humboi.com
# - www.humboi.com
# secretName: humboi-com
rules:
-
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: main-server-ip-service
port:
number: 3000
But I get the following error in the ingress section of gke:
“Only ImplementationSpecific pathType supported”. So I change Prefix to ImplementationSpecific and that although shows a green check mark for the ingress and no error, the nginx load balancer is showing 404 for the app.