Re: ODL Helm chart
Luis, Anil:
ONAP also creates a base OpenDaylight docker container, based on the ONAP-specific ODL tarball. Here’s a link to the code that creates the Aluminum version of that docker:
https://github.com/onap/ccsdk-distribution/tree/master/opendaylight/aluminum/aluminum-alpine
Dan
--
Dan Timoney
dtimoney@...
Lead Member of Tech Staff
ONAP Project Technical Lead : CCSDK and SDNC projects
From:
<TSC@...> on behalf of Luis Gomez <ecelgp@...>
Date: Sunday, April 4, 2021 at 7:02 PM
To: Anil Belur <abelur@...>
Cc: discuss <Discuss@...>, TSC <TSC@...>
Subject: Re: [OpenDaylight TSC] ODL Helm chart
OK, thanks for the ONAP pointers, I have explored them and I figured the following:
Docker:
1) ONAP projects use maven to build docker:
2) LFN global-jjb has templates for docker build and publish:
3) ONAP publishes docker images in Nexus:
Helm:
1) ONAP projects define their charts in a common repo called OOM:
2) Helm job are in ONAP ci-management repo whilst build Makefiles are in OOM:
3) ONAP publishes helm packages in Nexus:
So in general I think we can leverage a lot of work from above but before doing that I have a couple of question:
1) Does current Centos builder image support docker?
2) Does ODL have a docker repo like https://nexus3.onap.org/#browse/search/docker?
Thanks/Luis
On Mar 25, 2021, at 10:06 PM, Anil Belur <abelur@...> wrote:
Hello Luis:
ONAP has a few jobs that publish helm charts onto Nexus, and we have some scripts in place that can be reused.
Some examples below:
If ODL requires a similar jobs/setup, I can make a generic version of these jobs and move them into global-jjb repo.
However we'll also need additional Ubuntu 18.04 images that installs helm.
PS let me know if these bits can be reused. I can setup time to discuss the details of usecase for ODL
and get an understanding of which of the ODL $projects would require helm charts.
Regards,
Anil
On Fri, Mar 26, 2021 at 4:51 AM Luis Gomez <ecelgp@...> wrote:
As I brought in today's TSC meeting, any decent IT app nowadays has a helm chart to quickly install in K8s.
Looking at some open source example:
https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus
It seems like we need to hold some helm definitions in our code repo for folks to perform:
helm repo add odl https://opendaylight.github.io/helm-charts
Also we need to publish docker containers somewhere so they can be used in a K8s Deployment file like this:
spec:
containers:
- name: odl
image: quay.io/opendaylight/netconf:v0.13.0
...
I am not an expert in K8s so let me know if I miss anything.
Anil, do you see any problem in existing ODL infra to achieve the above?
BR/Luis