This message was deleted.
# k3s
a
This message was deleted.
c
The ingress rule matches host
sub.domain.in
- why would you expect it to match host
192.168.1.194
?
t
hi @creamy-pencil-82913, there is a reverse proxy setup which points sub.domain.in to these "192.168.1.194","192.168.1.209","192.168.1.239","192.168.1.249"
c
You still need to access it by the hostname for the rule to match. Are you doing so? Because that's not what you said you're doing.
t
hi @creamy-pencil-82913, thanks for the response. i have a static ip, which listens on multiple domains -- in this case subdomain.domain.in gets proxided to above ips. previously i was also able to reach the services with just the "192.168.1.194". this is my ingress
Copy code
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: mfi-qa-ingress
  namespace: lms-qa
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: websecure
    kubernetes.io/ingress.class: traefik
    traefik.ingress.kubernetes.io/router.middlewares: lms-qa-mfi-cors@kubernetescrd
spec:
  ingressClassName: traefik
  rules:
    - host: subdomain.domain.in
      http:
        paths:
          - backend:
              service:
                name: mfi-qa
                port:
                  number: 80
            path: /mfi
            pathType: Prefix
  tls:
  - hosts:
      - subdomain.domain.in
    secretName: subdomain.domain.in
many thanks again @creamy-pencil-82913.