Git Product home page Git Product logo

Comments (6)

davehorton avatar davehorton commented on July 29, 2024

I think the issue is that the drachtio image in the sip daemonset needs to dynamically determine the ip address it should listen on. Most often, there is a private IP that the drachtio server binds to, as well as a public address assigned over the top. On cloud providers, like AWS, there is typically a metadata http request that can be made to determine the IPs.

Since you are running on bare metal, we can not use this requests to automagically determine the IPs. Instead, could you define these environment variables for the drachtio container in the sbc-sip daemonset:

LOCAL_IP
PUBLIC_IP

from helm-charts.

davehorton avatar davehorton commented on July 29, 2024

If you look at the entrypoint.sh file in the drachtio container, I think you will see what I am getting at..

from helm-charts.

busyboy77 avatar busyboy77 commented on July 29, 2024

So ideally, I will be using the DownwardAPI for the local IP and for the PUBLIC_IP, I'll have to assign it manually.. Please correct me if I'm wrong here.

I apologize for these botherations, but this is our project to deploy and we dont have any documentation except asking here.

from helm-charts.

busyboy77 avatar busyboy77 commented on July 29, 2024

I think I can use both LOCAL_IP and PUBLIC_IP from the DownwardAPI of Kubernetes

here is the link -- if you can suggest a better approach

https://kubernetes.io/docs/concepts/workloads/pods/downward-api/

spec.nodeName
the name of the [node](https://kubernetes.io/docs/concepts/architecture/nodes/) where the Pod is executing
status.hostIP
the primary IP address of the node to which the Pod is assigned
status.podIP
the pod's primary IP address (usually, its IPv4 address)

from helm-charts.

davehorton avatar davehorton commented on July 29, 2024

you should join my slack channel -- just go to https://joinslack.jambonz.org

from helm-charts.

busyboy77 avatar busyboy77 commented on July 29, 2024

joining in

from helm-charts.

Related Issues (5)

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.