Giter Club home page Giter Club logo

Comments (6)

BeryJu avatar BeryJu commented on June 3, 2024 2

The easiest way to implement it would most likely be https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/webhook-provider.md

from gravity.

CygnusHyoga avatar CygnusHyoga commented on June 3, 2024

External-dns project support coredns integration with etcd (similar implementation of gravity).

https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/coredns.md

It's posible this provider works with gravity? Thanks in advance.

from gravity.

CygnusHyoga avatar CygnusHyoga commented on June 3, 2024

I tested without luck. I tried to add to external-dns helm chart:

env:
  - name: TZ
    value: Europe/Madrid
  - name: ETCD_URLS
    value: http://192.168.66.254:2380/gravity/
provider: coredns

extraArgs:
  - --source=service
  # - --source=ingress
  - --domain-filter=example.com

Error:

"level":"warn","ts":"2024-02-21T20:37:12.10568+0100","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc000365880/192.168.66.254:2380/gravity/","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = \"error reading server preface: EOF\""}
time="2024-02-21T20:37:12+01:00" level=fatal msg="context deadline exceeded"

The etcd is working via http or https? The schema of coredns is standard or custom? Thanks.

from gravity.

BeryJu avatar BeryJu commented on June 3, 2024

While gravity uses etcd and can use CoreDNS as a handler for a zone, the way gravity uses etcd is not inspired by coredns and as such probably not compatible

from gravity.

CygnusHyoga avatar CygnusHyoga commented on June 3, 2024

Thanks BeryJu for the response.

It would be great to add support for external-dns at some point, I think it is a factor that many people would be interested in.

from gravity.

CygnusHyoga avatar CygnusHyoga commented on June 3, 2024

Maybe adding support for:

May fix problem for integration with third party tools like: acme certificates with dns01 validation like acme.sh, lego, certbot, etc, and tools like external-dns and others.

One benefits it's a standard and don't have to develop custom integration with this or other tools.

from gravity.

Related Issues (20)

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.