From 49a20e43a4e68506ab339251c60fb04abf3610a4 Mon Sep 17 00:00:00 2001 From: "naman.gupta" Date: Tue, 16 Jan 2024 16:51:00 +0530 Subject: [PATCH] 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 --- depRicKubernetesOperator/README.md | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) 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 -- 2.16.6