This message was deleted.
# k3s
a
This message was deleted.
q
From the kubernetes docs, it looks like host is explicitly not allowed to be an IP: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#ingressrule-v1-networking-k8s-io However, it is perfectly possible to create DNS entries for such IPs, or you could use one of the many "dns wildcards" such as https://nip.io For your example, the host could be 192.168.5.10.nip.io
b
Its a private VM.. not exposed to public .. is there any other way ?
q
You are totally airgapped? In that case I guess you would need to run your own DNS, or simply not use ingress at all. You can create a NodePort-service but you wont get the nice port and path routing features of Ingress.
b
Yes its a local network... with few subnets..