O-RAN notes(5)---Bronze Near-Realtime RIC(ricplt) deployment (2)

(continued)

Minimum requirements on RAM and HD for ricplt deployment:

  • 4GB for VM RAM
  • 30GB for VM hard disk (for both SMO and ricplt deployment)
(18:35 dabs@ricpltbronze ~) > top | grep Mem
KiB Mem :  4002268 total,   128588 free,  2291288 used,  1582392 buff/cache
KiB Swap:        0 total,        0 free,        0 used.  1460316 avail Mem 

(18:35 dabs@ricpltbronze ~) > df /dev/sda1
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sda1      ext4   49G   27G   21G  57% /

update dep/RECIPE_EXAMPLE/PLATFORM/example_recipe.yaml to enable "pullPolicy: IfNotPresent" option:

Prepare docker images:

  • make sure all docker images in docker_pull_ricplt.sh are successfully pulled 
#docker_pull_ricplt.sh 
echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/it-dep-secret:0.0.2
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/it-dep-secret:0.0.2

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-rtmgr:0.6.1
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-rtmgr:0.6.1

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-e2:4.4.1
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-e2:4.4.1

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-e2mgr:4.4.12
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-e2mgr:4.4.12

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/it-dep-init:0.0.1
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/it-dep-init:0.0.1

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-appmgr:0.4.3
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-appmgr:0.4.3

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-a1:2.1.9
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-a1:2.1.9

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-submgr:0.4.3
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-submgr:0.4.3

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-vespamgr:0.4.0
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-vespamgr:0.4.0

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-o1:0.4.4
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-o1:0.4.4

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-alarmadapter:0.4.5
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-alarmadapter:0.4.5

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-dbaas:0.2.2
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-dbaas:0.2.2

echo && echo Pulling nexus3.o-ran-sc.org:10002/o-ran-sc/xapp-onboarder:1.0.7
docker pull nexus3.o-ran-sc.org:10002/o-ran-sc/xapp-onboarder:1.0.7

echo && echo Pulling docker.io/chartmuseum/chartmuseum:v0.8.2
docker pull docker.io/chartmuseum/chartmuseum:v0.8.2

echo && echo Pulling docker.io/jaegertracing/all-in-one:1.12
docker pull docker.io/jaegertracing/all-in-one:1.12

Deploy ricplt:

(14:53 dabs@ricpltbronze bin) > sudo ./deploy-ric-platform -f  ../RECIPE_EXAMPLE/PLATFORM/example_recipe.yaml

Eventually, you will have 2 pods in ns ricinfra, and 15 pods in ns ricplt:

(18:16 dabs@ricpltbronze bin) > sudo kubectl get pods --all-namespaces
NAMESPACE     NAME                                                         READY   STATUS      RESTARTS   AGE
kube-system   coredns-5644d7b6d9-clvtf                                     1/1     Running     5          32h
kube-system   coredns-5644d7b6d9-jwxnm                                     1/1     Running     5          32h
kube-system   etcd-ricpltbronze                                            1/1     Running     11         32h
kube-system   kube-apiserver-ricpltbronze                                  1/1     Running     28         32h
kube-system   kube-controller-manager-ricpltbronze                         1/1     Running     9          32h
kube-system   kube-flannel-ds-amd64-mrwn2                                  1/1     Running     16         32h
kube-system   kube-proxy-zrtl8                                             1/1     Running     6          32h
kube-system   kube-scheduler-ricpltbronze                                  1/1     Running     8          32h
kube-system   tiller-deploy-68bf6dff8f-wbmwl                               1/1     Running     4          32h
ricinfra      deployment-tiller-ricxapp-d4f98ff65-6h4n4                    1/1     Running     0          3h19m
ricinfra      tiller-secret-generator-tgkzf                                0/1     Completed   0          137m
ricinfra      tiller-secret-generator-zcx72                                0/1     Error       0          3h19m
ricplt        deployment-ricplt-a1mediator-66fcf76c66-h6rp2                1/1     Running     0          46m
ricplt        deployment-ricplt-alarmadapter-64d559f769-glb5z              1/1     Running     0          36m
ricplt        deployment-ricplt-appmgr-6fd6664755-2mxjb                    1/1     Running     0          47m
ricplt        deployment-ricplt-e2mgr-8479fb5ff8-9zqbp                     1/1     Running     0          47m
ricplt        deployment-ricplt-e2term-alpha-bcb457df4-4dz62               1/1     Running     0          46m
ricplt        deployment-ricplt-jaegeradapter-84558d855b-tmqqb             1/1     Running     0          45m
ricplt        deployment-ricplt-o1mediator-d8b9fcdf-f4sgm                  1/1     Running     0          40m
ricplt        deployment-ricplt-rtmgr-9d4847788-kf6r4                      1/1     Running     10         47m
ricplt        deployment-ricplt-submgr-65dc9f4995-gt5kb                    1/1     Running     0          46m
ricplt        deployment-ricplt-vespamgr-7458d9b5d-klh9l                   1/1     Running     0          45m
ricplt        deployment-ricplt-xapp-onboarder-546b86b5c4-xkcpt            2/2     Running     0          48m
ricplt        r4-infrastructure-kong-6c7f6db759-7xjqm                      2/2     Running     21         3h19m
ricplt        r4-infrastructure-prometheus-alertmanager-75dff54776-jfkdg   2/2     Running     2          3h19m
ricplt        r4-infrastructure-prometheus-server-5fd7695-pprg2            1/1     Running     2          3h19m
ricplt        statefulset-ricplt-dbaas-server-0                            1/1     Running     0          49m

 (to be continued) 

你可能感兴趣的:(4G/5G,O-RAN,ricplt,k8s,docker)