k8s_gateway is a CoreDNS plugin that resolves all types of external Kubernetes resources.
It will gather all domains from all services, ingresses, and HTTPRoutes resources and create a DNS record for each of them, corresponding to the service IPs. This ensures that all external resources are resolved from within the cluster, and traffic is not leaving the cluster.
Most people deploy the k8s_gateway together with CoreDNS and call the Helm Release 'k8s-gateway'. This can be supplimenting along side the kube-dns or default CoreDNS from k3s.
Install with:
helm repo add k8s-gateway https://ori-edge.github.io/k8s_gateway/
helm install k8s-gateway k8s-gateway/k8s-gateway -f values.yaml
See examples from other people.
Name | Repo | Stars | Version | Timestamp |
---|---|---|---|---|
k8s-gateway | axeII/home-ops | 43 | 2.4.0 | 10 days ago |
k8s-gateway | Diaoul/home-ops | 63 | 2.4.0 | 2 months ago |
k8s-gateway | blackjid/home-ops | 93 | 2.4.0 | 2 months ago |
k8s-gateway | allenporter/k8s-gitops | 33 | 5 months ago | |
k8s-gateway | brettinternet/homeops | 205 | 2.4.0 | 6 months ago |
See the most popular values for this chart:
Key | Types |
---|---|
service.type (88) LoadBalancer | string |
number | |
string | |
service.annotations."io.cilium/lb-ipam-ips" (49) ${K8S_GATEWAY_ADDR} | string |
string | |
service.annotations."metallb.universe.tf/loadBalancerIPs" (14) ${METALLB_K8S_GATEWAY_ADDR} | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
domain (87) ${SECRET_DOMAIN} | string |
fullnameOverride (85) k8s-gateway | string |
number | |
watchedResources[] (41) - Ingress | string |
boolean | |
string | |
string | |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
string | |
string | |
string |