Skip to content

Kube system service to register services in GCE DNS

License

Notifications You must be signed in to change notification settings

isabella232/kube-gce-dns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube to GCE DNS

Register kube public services in a gce domain with kube namespaces.

Unsupported

Usage

Configuration is handled via cli args or env vars:

$ ./kube-gce-dns --help

Starting the server

The server can be invoked with the server sub command. The option --domain and --project refer to the DNS domain and the GCE project respectively. The server should connect to the kube api when ran in the kube-system namespace, and the --api flag is not specified.

Development

Run make help for a list of tasks and their descriptions.

Testing

Run make test

Running locally

Use kubectl proxy to spin up a proxy to your kube api then run the server with --api localhost:8001 or whatever port your proxy has been setup on.

Design & Rationale

When adding/removing services with public IP addresses in kube you might want to also update public dns to those services. This does that for you.

The service is designed to run in the kube-system namespace, and will watch service events for add/remove/update actions, and fire the appropriate calls to the Google DNS service.

About

Kube system service to register services in GCE DNS

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 47.5%
  • Makefile 43.2%
  • Shell 8.9%
  • Dockerfile 0.4%