tailscale.com/v1alpha1
·DNSConfig
DNSConfig can be deployed to cluster to make a subset of Tailscale MagicDNS
names resolvable by cluster workloads. Use this if: A) you need to refer to
tailnet services, exposed to cluster via Tailscale Kubernetes operator egress
proxies by the MagicDNS names of those tailnet services (usually because the
services run over HTTPS)
B) you have exposed a cluster workload to the tailnet using Tailscale Ingress
and you also want to refer to the workload from within the cluster over the
Ingress's MagicDNS name (usually because you have some callback component
that needs to use the same URL as that used by a non-cluster client on
tailnet).
When a DNSConfig is applied to a cluster, Tailscale Kubernetes operator will
deploy a nameserver for ts.net DNS names and automatically populate it with records
for any Tailscale egress or Ingress proxies deployed to that cluster.
Currently you must manually update your cluster DNS configuration to add the
IP address of the deployed nameserver as a ts.net stub nameserver.
Instructions for how to do it:
https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#configuration-of-stub-domain-and-upstream-nameserver-using-coredns (for CoreDNS),
https://cloud.google.com/kubernetes-engine/docs/how-to/kube-dns (for kube-dns).
Tailscale Kubernetes operator will write the address of a Service fronting
the nameserver to dsnconfig.status.nameserver.ip.
DNSConfig is a singleton - you must not create more than one.
NB: if you want cluster workloads to be able to refer to Tailscale Ingress
using its MagicDNS name, you must also annotate the Ingress resource with
tailscale.com/experimental-forward-cluster-traffic-via-ingress annotation to
ensure that the proxy created for the Ingress listens on its Pod IP address.
Click on Property Name to show the description, and Pink Types to expand schema.
Required properties are marked with *
Change History
Tailscale Operator v1.96.2
Tailscale Operator v1.96.1
Tailscale Operator v1.96.0
Tailscale Operator v1.94.2
Tailscale Operator v1.94.1
Tailscale Operator v1.94.0
Tailscale Operator v1.92.5
Tailscale Operator v1.92.4
Tailscale Operator v1.92.3
Tailscale Operator v1.92.2
Tailscale Operator v1.92.1
Tailscale Operator v1.92.0
Tailscale Operator v1.90.9
Tailscale Operator v1.90.8
Tailscale Operator v1.90.7
Tailscale Operator v1.90.6
Tailscale Operator v1.90.5
Tailscale Operator v1.90.4
Tailscale Operator v1.90.3
Tailscale Operator v1.90.2
Tailscale Operator v1.90.1
Tailscale Operator v1.90.0
2 properties have been added on this version
- .spec.nameserver.pod
- .spec.nameserver.replicas
Tailscale Operator v1.88.4
Tailscale Operator v1.88.3
We don't have any examples of DNSConfig yet 😕
But the good news is, you can help us by contributing examples on GitHub
No links for DNSConfig yet
You can help us by adding useful links on GitHub