From: naman.gupta Date: Tue, 16 Jan 2024 11:21:00 +0000 (+0530) Subject: Adding the steps to deploy/undeploy Near-RT RIC. X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=49a20e43a4e68506ab339251c60fb04abf3610a4;p=ric-plt%2Fric-dep.git Adding the steps to deploy/undeploy Near-RT RIC. Adding the steps to deploy/undeploy Near-RT RIC. Change-Id: I595ce74acbcaa3070c5454236805686e283d6fd8 Signed-off-by: naman.gupta --- diff --git a/depRicKubernetesOperator/README.md b/depRicKubernetesOperator/README.md index a026b03..f3bbb93 100644 --- a/depRicKubernetesOperator/README.md +++ b/depRicKubernetesOperator/README.md @@ -1,5 +1,28 @@ -# depriclatest26oct -// TODO(user): Add simple overview of use/purpose +# depriclatest +The depric Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of RIC services and instances. + +# To deploy K8s Operator +1. Build the docker image: +```sh +make docker-build docker-push IMG=registry/depriclatest-operator:latest +``` +2. deploy the operator using above image: + +```sh +make deploy IMG=registry/depriclatest-operator:latest +``` + +# To Deploy/Undeploy RIC + +## Deploy RIC +For deploying RIC apply a sample manifest based on the new operator CRD : + +kubectl apply -f config/samples/ricdeploy_v1_ricplatform.yaml + +## Undeploy RIC +For undeploying RIC apply a sample manifest based on the new operator CRD : + +kubectl apply -f config/samples/ricdeploy_v1_ricplatform.yaml ## Description // TODO(user): An in-depth paragraph about your project and overview of use @@ -18,13 +41,13 @@ kubectl apply -f config/samples/ 2. Build and push your image to the location specified by `IMG`: ```sh -make docker-build docker-push IMG=/depriclatest26oct:tag +make docker-build docker-push IMG=/depriclatest:tag ``` 3. Deploy the controller to the cluster with the image specified by `IMG`: ```sh -make deploy IMG=/depriclatest26oct:tag +make deploy IMG=/depriclatest:tag ``` ### Uninstall CRDs