Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Jira
serverONAP JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-175

References

Application  Ports Reserved for CPS, and xNF

  • CPS with xNF: 31205

Service exposition

  • Exposed services are configured using Ingress
  • Not exposed services are configured using ClusterIP
  • There is no service using NodePort

Deployment

  Needs to be defined, what Honolulu approach we want. ATM approach is to have 1 with option of enable 2 as well

...

  1.  CPS
  2.  CPS and xNF
  3.  Only xNF?

   Database:

 Database:

       OOM Datastore is not still separated from the OOM core and hence at        At the moment we will reuse ONAP progress Db

...

virtualbox + Ubuntu 20.04 + Microk8s 1.15 + Helm 2.16 + docker 19.03.8 (There were many issues when trying to do it with Fedora distribution)


Prerequirements


Code Block
languagebash
snap install microk8s --classic --channel=1.15/stable

...



microk8s enable storage

...



microk8s enable dns

...



snap install helm --classic --channel=2.16/stable

...



microk8s kubectl -n kube-system create serviceaccount tiller

...



microk8s kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller

...



helm init --service-account tiller

...



microk8s kubectl -n kube-system rollout status deploy/tiller-deploy

...



helm repo remove stable

Installation


Code Block
languagebash

git clone -b master http://gerrit.onap.org/r/oom

...



cd oom/kubernetes

...


make repo

...


make SKIP_LINT=TRUE all

helm install local/onap -n onap \

...


--namespace onap \

...


--set cps.enabled=true \

...


--set postgres.enabled=true \

...


--set global.masterPassword=random \

...


--set global.persistence.storageClass=microk8s-hostpath

...



helm list

...