From b6c2dd7820d2c592dd4c4087f9462ee14592b1a2 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Fri, 16 Sep 2022 10:53:53 +0200 Subject: [PATCH] Update README for OpenShift deployments using helm --- openshift/README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/openshift/README.md b/openshift/README.md index 481dc5e4fe..9f0923bd60 100644 --- a/openshift/README.md +++ b/openshift/README.md @@ -12,6 +12,8 @@ +[[_TOC_]] + # 1. Introduction ## General @@ -119,13 +121,14 @@ The `` could be `oai-gnb`, and the `` `ci-temp`. # 6. Deployment using HELM Charts -**CAUTION: even more experimental.** - -Helm charts are located in another repository: +Helm charts are located under `charts`. Assuming that the image is in the image +registry, the physims could be deployed as shown in the following steps: ```bash -git clone https://github.com/OPENAIRINTERFACE/openair-k8s.git -cd openair-k8s -git checkout helm-deployment-S6a-S1C-S1U-in-network-18-with-enb -helm install mme /path-to-your-cloned/openair-k8s/charts/oai-mme/ +grep -rl OAICICD_PROJECT ./charts/ | xargs sed -i -e "s#OAICICD_PROJECT#oaicicd-ran#" # select the correct project +sed -i -e "s#TAG#ci-temp#g" ./charts/physims/values.yaml # select the correct tag +helm install physim ./charts/physims/ # deploy +oc get pods # get the list of deployed containers +oc logs # inspect the logs of a pod +helm uninstall physim # undeploy ```