Skip to content

Make a dns operator #146

Description

@oscrx

I'd like to manage the node reachability on the Kubernetes node object

Now we have a script that runs every 5 minutes, checks if ninoo.nl is up and add's or removes some records from the Cloudflare dns servers.

I'd like to extend that health check a bit with inter-connectivity checks. If a node cannot reach the majority of the cluster I'd like to take it out of the pool.

Another data point it should process is the node status. When I drain a node for maintenance I'd like that the dns records are removed instantly. The same if the node gets the NotReady label.

Maybe operator is not the correct terminology. A software deamon that subscribes on the kube-api events and looks at stuff like this:
https://kubernetes.io/docs/reference/labels-annotations-taints/#kubernetesiohostname

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions