nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
107 stars 53 forks source link

Implement kpt packages for all free5gc functions #105

Closed gvbalaji closed 1 year ago

gvbalaji commented 1 year ago

Refer to these as provided by Orange team.

Parent issue.

Also references: Presentation Custom kpt packages: kpt packages catalog Improved free5gc-operator: free5gc-operator Reference helm charts: Towards5gs

johnbelamaric commented 1 year ago

/assign @debeaueric

johnbelamaric commented 1 year ago

@matysiaq any updates here?

matysiaq commented 1 year ago

@johnbelamaric, the CLA on our side is already signed - we can progres on that. Right now we have the kpt packages on my github (the ones from our E2E demo).

As agreed, free5gc NFs will be deployed on single CP cluster, so no modification is needed. I discussed with @henderiw that we could deploy UERANSIM as containers manage by K8s (co-colated with UPF), so we can reuse our existing packages with additional configuration.


What need to be done is, at least:

(1) remove AMF, SMF (because those will be specialized) (2) decompose free5gc NFs into separate packages (if needed, right now there is all-in-one kpt pkg for free5gc NFs - please comment) (3) decompose (optional) and adjust UERANSIM kpt package (based on N2, N3 reference points of AMF, UPF) (4) make a PR with at least initial version of kpt packages

@johnbelamaric - What do you think about that?

I'm at the vacation till 04.05, so I'm not up-to-date with community discussions and progres.

johnbelamaric commented 1 year ago

Sounds great @matysiaq. Please enjoy your vacation, this can be addressed when you return.

Ideally, we decompose each function into an individual package. Then, we can create the topology using the topology controller and/or packages containing PackageVariant / PackageVariantSet resources.

That said, if there is a "gang" of functions that we do not need to be able to run on different clusters, it would be fine to keep those all in one package. I think the best path forward would be to start with that, and then evolve it later as needed. So, skip your step 2, and I think your step 3, separate out AMF and SMF, and submit the rest of the functions as a single package for now. Once it's in the Nephio repo then we can all work on it more easily.

johnbelamaric commented 1 year ago

@johnbelamaric will look at right after the meeting

johnbelamaric commented 1 year ago

https://github.com/nephio-project/free5gc-packages/pull/16 has merged!