X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Finstallation-ric.rst;h=5c4fec86861f39409a24383ba819eee3088792b4;hb=refs%2Fchanges%2F64%2F12164%2F2;hp=3e6c57d5feb8090b3afcfb033a165da9e8bb9dc3;hpb=0ce57200fddb0fb037d1d351df5927e455be3bc7;p=ric-plt%2Fric-dep.git diff --git a/docs/installation-ric.rst b/docs/installation-ric.rst index 3e6c57d..5c4fec8 100644 --- a/docs/installation-ric.rst +++ b/docs/installation-ric.rst @@ -30,6 +30,26 @@ Clone the ric-plt/dep git repository that has deployment scripts and support fil git clone "https://gerrit.o-ran-sc.org/r/ric-plt/ric-dep" +Deploying the Infrastructure and Platform Groups +------------------------------------------------ + +Use the scripts below to install kubernetes, kubernetes-CNI, helm and docker on a fresh +Ubuntu 20.04 installation. Note that since May 2022 there's no need for anything form the repo it/dep +anymore. + +.. code:: bash + + # install kubernetes, kubernetes-CNI, helm and docker + cd ric-dep/bin + ./install_k8s_and_helm.sh + + # install chartmuseum into helm and add ric-common templates + ./install_common_templates_to_helm.sh + +After the recipes are edited and helm started, the Near Realtime RIC platform is ready to be deployed, +but first update the deployment recipe as per instructions in the next section. + + Modify the deployment recipe ---------------------------- @@ -61,26 +81,11 @@ points to the latest example file that is under current development. For more advanced recipe configuration options, please refer to the recipe configuration guideline. +Installing the RIC +------------------ -Deploying the Infrastructure and Platform Groups ------------------------------------------------- - -Copy the ric-common helm charts for it/dep, configure the helm repo and start local helm server - -.. code:: bash - - git clone "https://gerrit.o-ran-sc.org/r/it/dep" - HELM_HOME=$(helm home) - COMMON_CHART_VERSION=$(cat dep/ric-common/Common-Template/helm/ric-common/Chart.yaml | grep version | awk '{print $2}') - helm package -d /tmp dep/ric-common/Common-Template/helm/ric-common - cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $HELM_HOME/repository/local/ - helm repo index $HELM_HOME/repository/local/ - helm serve >& /dev/null & - helm repo remove local - helm repo add local http://127.0.0.1:8879/charts - - -After the recipes are edited and helm started, the Near Realtime RIC platform is ready to be deployed. +After updating the recipe you can deploy the RIC with the command below. Note that generally use the +latest recipe marked stable or one from a specific release. .. code:: bash