Integrating
Integrating Kubizone resources with your DNS provider.
This section is only for developers who want to create an integration for Kubizone to some currently (or poorly) unsupported provider.
The easiest way to integrate with Kubizone, is to write a program which reads the Zone resources directly from the Kubernetes API, and pushes/applies these changes to the DNS provider.
If your provider supports uploading RFC1035-compatible text representations of a zone, it might be easier to use the ZoneFile instead.
You can retrieve a list of current records associated with a zone by reading
the .status.entries
field of the zone, and use this list to populate the
zone as defined by your provider.
The .entries
field is populated by the Kubizone controller and its contents
are guaranteed to abide by the zone's delegation rules.
Please see usage and Zone to get an idea for how zones and records interact, as well as the structure of them.
Example Provider
A very simple provider has been implemented for AWS' Route53 in bash, using
just kubectl
and the aws
cli.
The provider is available here