Closed itapai closed 11 months ago
Adding this to the nginx-ingress-controller clusterrole fixed this for me.
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- list
- watch
Short
kubectl get clusterrole nginx-ingress-controller -o json | \
jq '.rules += [{"apiGroups":["discovery.k8s.io"],"resources":["endpointslices"],"verbs":["list","watch"]}]' | \
kubectl apply -f -
I forked this repo, added a new cluster in clusters/development and bootstraped flux on a local kind cluster.
When I try to curl it with the url, I get this error:
and this error log in the nginx pod
However, if I port forward and curl, it works.
I tried the same thing with a managed kubernetes service (digitalocean) with a LoadBalancer service, and had the same error in the nginx-ingress pod and curl returned
Empty reply from server
. How can I access the service via url?