From 7837ef2730940075d88dfbcc1f7fda2955155f0e Mon Sep 17 00:00:00 2001 From: Pedro Pereira Date: Mon, 24 Jun 2024 16:39:46 +0100 Subject: [PATCH 1/2] Feature 10991 documentation --- 05-osm-usage.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/05-osm-usage.md b/05-osm-usage.md index b84c91a..b3d8757 100644 --- a/05-osm-usage.md +++ b/05-osm-usage.md @@ -1753,6 +1753,18 @@ Check in the cluster that pods are properly created: - The pods associated to ldap should be using version `openldap:1.2.1` and have 1 replica - The pods associated to ldap2 should be using version `openldap:1.2.1` and have 2 replicas +Check that the pods have the correct labels. Each deployed pod should have the following labels: + +```bash +managed-by=osm.etsi.org +osm.etsi.org/kdu-id= +osm.etsi.org/kdu-name= +osm.etsi.org/ns-id= +osm.etsi.org/nsd-id= +osm.etsi.org/vnf-id= +osm.etsi.org/vnfd-id= +``` + Now you can upgrade both NS instances: ```bash -- GitLab From ba586066ff59bcd0793a510a7b675f0014b31fd7 Mon Sep 17 00:00:00 2001 From: Pedro Pereira Date: Mon, 24 Jun 2024 16:39:46 +0100 Subject: [PATCH 2/2] Feature 10991 documentation Signed-off-by: Pedro Pereira --- 05-osm-usage.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/05-osm-usage.md b/05-osm-usage.md index b3d8757..da6eb9c 100644 --- a/05-osm-usage.md +++ b/05-osm-usage.md @@ -1753,7 +1753,13 @@ Check in the cluster that pods are properly created: - The pods associated to ldap should be using version `openldap:1.2.1` and have 1 replica - The pods associated to ldap2 should be using version `openldap:1.2.1` and have 2 replicas -Check that the pods have the correct labels. Each deployed pod should have the following labels: +Check that the pods have the correct labels: + +```bash +kubectl -n describe pod +``` + +Each deployed pod should have the following labels: ```bash managed-by=osm.etsi.org @@ -1765,6 +1771,12 @@ osm.etsi.org/vnf-id= osm.etsi.org/vnfd-id= ``` +To discover every pod associated with a NS instance you can perform the following query: + +```bash +kubectl -n get pods -l osm.etsi.org/ns-id= +``` + Now you can upgrade both NS instances: ```bash -- GitLab