To deploy the core with one UPF the following parameters are required on deployment:
- amf.lbIP="THE AMF IP"
- upf.upf1IP="THE UPF IP"
- dnn.upf1="dnn1"
To deploy the core with two UPFs the following parameters are required on deployment:
- amf.lbIP="THE AMF IP"
- upf.upfs="2"
- upf.upf1IP="THE FIRST UPF IP"
- upf.upf2IP="THE SECOND UPF IP"
- dnn.upf1="dnn1"
- dnn.upf2="dnn2"
To deploy a UPF the following parameters are required on deployment:
- upf.config="1|2 (upf 1 or upf 2)"
- upf.lbIP="the UPF IP we want from the LB"
- upf.tun="tun subnet number - 45, 46, ..."
- upf.dnn="dnn"
helm install -n open5gs-hack -f values.yaml 5gcore ./ --set amf.lbIP="10.10.10.221",upf.upf1IP="10.10.10.222",dnn.upf1="dnn1"
helm install -n open5gs-hack -f values.yaml upf1 ./ --set upf.config="1",upf.lbIP="10.10.10.222",upf.tun="45",upf.dnn="internet"
{
"additionalParamsForVnf": [{
"member-vnf-index": "1",
"additionalParamsForKdu": [{
"kdu_name": "open5gs",
"k8s-namespace": "open5gs-hack",
"additionalParams": {
"amf": {
"lbIP": "10.10.10.221"
},
"upf": {
"upf1IP": "10.10.10.222"
},
"dnn": {
"upf1": "internet"
}
}
}]
}]
}
{
"additionalParamsForVnf": [{
"member-vnf-index": "1",
"additionalParamsForKdu": [{
"kdu_name": "upf",
"k8s-namespace": "open5gs-hack",
"additionalParams": {
"upf": {
"config": "1",
"lbIP": "10.10.10.222",
"tun": "45",
"dnn": "internet"
}
}
}]
}]
}
# On main cluster
helm install -n open5gs-hack -f values.yaml 5gcore ./ --set amf.lbIP="10.10.10.221",upf.upfs="2",upf.upf1IP="10.10.10.222",upf.upf2IP="172.16.100.161",dnn.upf1="internet",dnn.upf2="work"
helm install -n open5gs-hack -f values.yaml upf1 ./ --set upf.config="1",upf.lbIP="10.10.10.222",upf.tun="45",upf.dnn="internet"
# On edge cluster
helm install -n open5gs-hack -f values.yaml upf2 ./ --set upf.config="2",upf.lbIP="172.16.100.161",upf.tun="46",upf.dnn="work"
Core (on main cluster)
{
"additionalParamsForVnf": [{
"member-vnf-index": "1",
"additionalParamsForKdu": [{
"kdu_name": "open5gs",
"k8s-namespace": "open5gs-hack",
"additionalParams": {
"amf": {
"lbIP": "10.10.10.221"
},
"upf": {
"upfs": "2",
"upf1IP": "10.10.10.222",
"upf2IP": "172.16.100.161"
},
"dnn": {
"upf1": "internet",
"upf2": "work"
}
}
}]
}]
}
UPF 1 (on main cluster)
{
"additionalParamsForVnf": [{
"member-vnf-index": "1",
"additionalParamsForKdu": [{
"kdu_name": "upf",
"k8s-namespace": "open5gs-hack",
"additionalParams": {
"upf": {
"config": "1",
"lbIP": "10.10.10.222",
"tun": "45",
"dnn": "internet"
}
}
}]
}]
}
UPF 2 (on edge cluster)
{
"additionalParamsForVnf": [{
"member-vnf-index": "1",
"additionalParamsForKdu": [{
"kdu_name": "upf",
"k8s-namespace": "open5gs-hack",
"additionalParams": {
"upf": {
"config": "2",
"lbIP": "172.16.100.161",
"tun": "46",
"dnn": "work"
}
}
}]
}]
}
If the deployment goes into a CrashLoopBackoff run:
helm -n open5gs-hack ls
Get the chart name and run:
helm -n open5gs-hack uninstall chart-name