GithubHelp home page GithubHelp logo

isabella232 / k8s-dns-exposer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datadog/k8s-dns-exposer

0.0 0.0 0.0 17.86 MB

License: Apache License 2.0

Makefile 3.93% Dockerfile 0.70% Shell 25.48% Go 69.90%

k8s-dns-exposer's Introduction

K8s DNS Exposer

Build Status

k8s-dns-exposer is a Kubernetes controller that helps create, and keep up to date Endpoints objects for Services that point to external domain name.

Use cases

The initial use case we built this for is for enabling monitoring on every endpoint behind an external service (when you don't want the /metrics query to be load-balanced, because each replica behind the service returns different values)

Usage

Deploy the controller by running the following command from the root of this repository:

kubectl apply -f deploy/

Then, for any external service you want to expose inside your cluster, simply create a Kubernetes headless service with your service domain name as an externalName, and annotate it with datadoghq.com/k8s-dns-exposer: "true".

Config options

  • you can modify the refresh period at which the controller will resolve the service to find new endpoints (default: 5s) by adding a datadoghq.com/k8s-dns-exposer.refresh-seconds: "<refresh_period>" annotation to the service

Made with ❤️ at Datadog

k8s-dns-exposer's People

Contributors

ahmed-mez avatar clamoriniere avatar hkaj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.