diff --git a/05-osm-usage.md b/05-osm-usage.md index b84c91ae072c8871b98290a1f360f8fa75e0b92b..da6eb9ce08e6ed13d47475538db3111deb0971b3 100644 --- a/05-osm-usage.md +++ b/05-osm-usage.md @@ -1753,6 +1753,30 @@ 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: + +```bash +kubectl -n describe pod +``` + +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= +``` + +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