Gradiant / 5g-charts

Helm charts for 5G Technologies
Apache License 2.0
117 stars 46 forks source link

Set static ips for each network function via values.yaml #145

Closed Stainless2k closed 9 months ago

Stainless2k commented 9 months ago

Hello,

we are using your Charts to do a bit of research regarding security in containerized 5G networks, using tools like Falco.

For convince sake, even tho its not the best practice, we would like to give each Network function an predefined static IP address in our Kubernetes Cluster. Is this achievable via the values.yaml of the open5gs helm chart ?

cgiraldo commented 9 months ago

Hi,

You can try to provide a fixed clusterIP in the services of each Network function.

For example take a look to the values of the smf: https://artifacthub.io/packages/helm/gradiant-openverso/open5gs-smf

Using the open5gs chart you can set the smf sbi IP with the smf.services.sbi.clusterIP value. Or you can set the smf gtpc IP with smf.services.gtpc.clusterIP value.

However, just to let you know, we have not tested this kind of deployment.

Good luck!