LCM Events V2 (demo prep) 70/143370/2 master
authorToineSiebelink <toine.siebelink@est.tech>
Mon, 23 Feb 2026 17:25:34 +0000 (17:25 +0000)
committerToineSiebelink <toine.siebelink@est.tech>
Mon, 2 Mar 2026 08:29:15 +0000 (08:29 +0000)
- Improve K8/K6 Readme's
- Add new var for setting event version to  values.yaml

Issue-ID: CPS-2975
Change-Id: Ieb5fb9fbea24967f8a06c76d6b8277b41bb19137
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
cps-charts/README.md
cps-charts/values.yaml
k6-tests/README.md

index b9f6855..afcc1fb 100644 (file)
 # CPS and NCMP Helm Chart
 This Helm chart deploys the **CPS** and **NCMP** ecosystem along with PostgreSQL, Kafka, Zookeeper, and dual DMI Stub services.
 ---
-## Prerequisites
-- Kubernetes cluster (tested on K8s 1.24+)
-- Helm 3.x
-- Access to the necessary Docker image registry (e.g., `nexus3.onap.org`)
+#### Prerequisites for Windows
+1. Docker Desktop
+2. Enable Kubernetes in Docker Desktop (Settings, Kubernetes, kubeadm). Known issue: it may hang on "starting kubernetes" for a few minutes. Resolution: click "Reset Cluster" then it starts.
+3. Helm 3.x  (see [installing helm on windows](https://helm.sh/docs/intro/install/). Recommended approach: install Helm with winget)
+
+
+#### Prerequisites for Linux
+1. Kubernetes cluster (tested on K8s 1.24+)
+   - k3s from Rancher (see) [installing k3s on linux](https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-cluster-setup/k3s-for-rancher))
+2. Helm 3.x (see [installing helm on linux](https://helm.sh/docs/intro/install/)) 
+
 ---
 ## Installation
 To install the chart into the **default namespace**:
 ```bash
-helm install cps ./<chart-directory>
+helm install cps ./cps-charts
 ```
-Replace <chart-directory> with the path to this Helm chart.
 
 To install with policy executor checking enabled
 ```bash
-helm install cps ./<chart-directory> --set cps.env.POLICY_SERVICE_ENABLED=true
+helm install cps ./cps-charts --set cps.env.POLICY_SERVICE_ENABLED=true
 ```
 ---
 
@@ -48,7 +54,9 @@ kubectl get pods
 ---
 
 # Port forwarding
-Required for local access to cluster services
+Required for local access to cluster services (keep running in separate terminal)
+
+CPS/NCMP service:
 ```bash
 kubectl port-forward service/cps-ncmp-service 8080:8080
 ```
@@ -76,4 +84,4 @@ This Helm chart deploys the following components:
 - zookeeper: Zookeeper coordination service for Kafka
 - dmi-stub: Stub service for NCMP device interactions
 - policy-executor-stub: Stub service for Policy Executor interactions
----
\ No newline at end of file
+---
index 78e3c05..8c0e02c 100644 (file)
@@ -109,7 +109,7 @@ cps:
     JAVA_TOOL_OPTIONS: "-XX:InitialRAMPercentage=70.0 -XX:MaxRAMPercentage=70.0"
     HAZELCAST_MODE_KUBERNETES_ENABLED: "true"
     IGNORE_R20250722_MODEL: "true"
-
+    APP_LCM_EVENTS_EVENT-SCHEMA-VERSION: "v1"
 kafka:
   enabled: true
   image:
index 2c9e1e7..0740fd5 100644 (file)
@@ -25,18 +25,11 @@ The script assumes k6 and the relevant docker-compose have been installed.
 ```shell
 ./k6-main.sh [kpi|endurance] [dockerHosts]
 ```
-
 ### Running the k6 test suites on a Kubernetes environment
 Only kubernetes cluster deployment type supported: k8sHosts
 
-#### Prerequisites for Windows
-1. Docker Desktop
-2. Enable Kubernetes in Docker Desktop (Settings, Kubernetes). Known issue: it may hang on "starting kubernetes" for a few minutes. Resolution: click "Reset Cluster" then it starts.
-3. Install Helm, see [installing helm on windows](https://helm.sh/docs/intro/install/). Recommended approach: install Helm with winget.
-
-#### Prerequisites for Linux
-1. k3s from Rancher [installing k3s on linux](https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-cluster-setup/k3s-for-rancher)
-2. Install Helm, see [installing helm on linux](https://helm.sh/docs/intro/install/)
+#### Prerequisites
+See [Prerequisites for Windows](../cps-charts/README.md#prerequisites-for-windows) or [Prerequisites for Linux](../cps-charts/README.md#prerequisites-for-linux) in the CPS Charts README.
 
 Run the main script.
 By default, kpi profile is supported, and it assumes the kubernetes environment with Helm is already available.