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 | Diaoul/home-ops | 62 | 2.4.0 | a month ago |
k8s-gateway | blackjid/home-ops | 93 | 2.4.0 | a month ago |
k8s-gateway | axeII/home-ops | 42 | 2.4.0 | 3 months ago |
k8s-gateway | allenporter/k8s-gitops | 33 | 4 months ago | |
k8s-gateway | brettinternet/homeops | 204 | 2.4.0 | 5 months ago |
See the most popular values for this chart:
Key | Types |
---|---|
service.type (87) LoadBalancer | string |
number | |
string | |
service.annotations."io.cilium/lb-ipam-ips" (51) ${K8S_GATEWAY_ADDR} | string |
string | |
service.annotations."metallb.universe.tf/loadBalancerIPs" (12) ${METALLB_K8S_GATEWAY_ADDR} | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
domain (86) ${SECRET_DOMAIN} | string |
fullnameOverride (85) k8s-gateway | string |
number | |
watchedResources[] (38) - Ingress | string |
boolean | |
string | |
string | |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
string | |
string |