Re: [onap-discuss] [dcaegen2] [oom] Adding labels and modifying namespace to DCAGEN2 pods

2018-08-08 Thread Lji
+ Jack


From: "ANAPAN-LAVALLE, HECTOR A" 
Date: Tuesday, August 7, 2018 at 9:50 PM
To: "onap-discuss@lists.onap.org" 
Cc: "JI, LUSHENG (LUSHENG)" 
Subject: [onap-discuss] [dcaegen2] [oom] Adding labels and modifying namespace 
to DCAGEN2 pods

Hi,


  1.  I am trying to list pods per HELM deployment (assuming I don’t use 
local/onap and I use separate HELM charts), so I am using labels to list pods 
by their “release” label (helm release name).

I made a change (https://jira.onap.org/browse/OOM-1319 -- 
https://gerrit.onap.org/r/#/c/59555/) to add some missing label metadata to 
show the HELM release name of some pods who didn’t have this label. As I run 
“kubectl get pods -a --namespace=onap --show-labels | grep -v release” to show 
the pods that don’t have the “release” label in their pod metadata, I see that 
in order for the DCAEGEN2 stack (deployed by the bootstrap pod) to add 
additional labels, changes need to happen in the dcaegen2 git repos. Can 
someone please advise what changes are necessary to add a label to the dcaegen2 
pods?



  1.  Also, I see that in order to override the DCAE_NAMESPACE value, the 
following instructions are in this README: 
https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/dcaegen2/charts/dcae-cloudify-manager/README.md;hb=f2895bdfbff1a7c40dd7c247dcefcc19d43dcde0.
 It says to modidy the dcae_ns value in values.yaml but this value shows up in 
multiple values.yaml so can someone clarify this?

Assuming I change the dcae_ns value(s) and if my dcaegen2 HELM deployment is 
already running, would a HELM upgrade suffice to reflect this change, or would 
the whole deployment need to be re-deployed from scratch?


Thanks,
Hector

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11754): https://lists.onap.org/g/onap-discuss/message/11754
Mute This Topic: https://lists.onap.org/mt/24226806/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[onap-discuss] [dcaegen2] [oom] Adding labels and modifying namespace to DCAGEN2 pods

2018-08-07 Thread Hector Anapan
Hi,


  1.  I am trying to list pods per HELM deployment (assuming I don't use 
local/onap and I use separate HELM charts), so I am using labels to list pods 
by their "release" label (helm release name).

I made a change (https://jira.onap.org/browse/OOM-1319 -- 
https://gerrit.onap.org/r/#/c/59555/) to add some missing label metadata to 
show the HELM release name of some pods who didn't have this label. As I run 
"kubectl get pods -a --namespace=onap --show-labels | grep -v release" to show 
the pods that don't have the "release" label in their pod metadata, I see that 
in order for the DCAEGEN2 stack (deployed by the bootstrap pod) to add 
additional labels, changes need to happen in the dcaegen2 git repos. Can 
someone please advise what changes are necessary to add a label to the dcaegen2 
pods?



  1.  Also, I see that in order to override the DCAE_NAMESPACE value, the 
following instructions are in this README: 
https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/dcaegen2/charts/dcae-cloudify-manager/README.md;hb=f2895bdfbff1a7c40dd7c247dcefcc19d43dcde0.
 It says to modidy the dcae_ns value in values.yaml but this value shows up in 
multiple values.yaml so can someone clarify this?

Assuming I change the dcae_ns value(s) and if my dcaegen2 HELM deployment is 
already running, would a HELM upgrade suffice to reflect this change, or would 
the whole deployment need to be re-deployed from scratch?


Thanks,
Hector

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11736): https://lists.onap.org/g/onap-discuss/message/11736
Mute This Topic: https://lists.onap.org/mt/24226806/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-