Skip to content

Can't reach apps through nginx ingress on m1 mac #995

Answered by Oyelowo
Oyelowo asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @iwilltry42, I eventually found a solution. Apologies, I had not replied here until now.

@Ruitjes , I used the following:

To start k3d without default. traefik:

k3d cluster create local --port 8080:80@loadbalancer --port 8443:443@loadbalancer --k3s-arg "--no-deploy=traefik@server:*"

My nginx-ingress configuration looks like this:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    # cert-manager.io/cluster-issuer: letsencrypt-cluster-issuer
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
    nginx.ingress.kubernetes.io/use-regex: "true"
  name: nginx-ingress
  namespace: applications
spec:
  ingressClassName: nginx
  rules:
  - host: localhost
    htt…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Oyelowo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants