Hi Guangrong,
For version updates of Holmes images, besides blueprints you will need to 
update below also


  *   Integration – docker-manifest files 
(https://git.onap.org/integration/tree/version-manifest/src/main/resources)
  *   DCAE charts under OOM repo where holmes images are referenced 
(https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/dcaegen2/charts/dcae-bootstrap/values.yaml;h=bc430b4053836eed7ba90cc14f7f23fd0fa57473;hb=refs/heads/master)
 . The docker-manifest will override this value on all integration deploy, 
however if standalone oom deploys are done then image version referenced here 
will be picked (and overrides blueprint defaults).

Thanks,
Vijay

From: Guangrong Fu <steven20...@gmail.com>
Sent: Sunday, September 16, 2018 10:19 PM
To: VENKATESH KUMAR, VIJAY <vv7...@att.com>
Subject: Re: [onap-discuss] 答复: [dcae][holmes] How to Add a New Port Mapping to 
Existing Docker Containers?

Thanks, Vijay.

This is of great help.

The changes related to Holmes you made in the blueprints are exactly what I 
want.

Here's a reminder: by the end of Casablanca, the image version of Holmes would 
be 1.2.0. For now, the images are still in the staging repo. Once they are 
released, I'll update the blueprint accordingly.

Thanks again for your response.

BR,
Guangrong

VENKATESH KUMAR, VIJAY <vv7...@att.com<mailto:vv7...@att.com>>于2018年9月16日周日 
下午2:22写道:
Hi Guangrong,
Sorry for the delayed response. The assignment to “9101:0” is valid under OOM 
deploy as the VM port doesn’t apply in K8S cluster. The K8S plugin uses 0 as 
identification for clusterIP mapping and 9101 is set as internal port. For 
exposing the service outside of K8S cluster, NodePort are used (in that case 
the 0 will be replaced by the required nodePort value to be set - the k8s 
plugin creates the underlying service definition and DNS setting required in 
this case).

For Holmes, I believe clusterip:port should suffice and any service requiring 
to connect to holmes can invoke based on servicename:<port>.

As for supporting multiple ports – yes that can be defined in the blueprint.

I noticed an error related to port assignments on Holmes blueprints and 
submitted a patch - 
https://gerrit.onap.org/r/#/c/66813/1<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_-23_c_66813_1&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=6WYcUG7NY-ZxfqWx5MmzVQ&m=aMhZLU3mBT3Ebf0kmBlm_Cl7fgXXx5qdTZcC_drqFM8&s=f2E1S_AvnrWWXTsu4tha0HLT3Qh9jsiBn3CFpm96Cas&e=>
 , included the new port – 9104 you noted as well. Please check and let me know 
if any questions.

Thanks,
Vijay

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
Guangrong Fu
Sent: Thursday, September 13, 2018 8:58 PM
To: VENKATESH KUMAR, VIJAY <vv7...@att.com<mailto:vv7...@att.com>>
Cc: LUCAS, JACK <jflu...@research.att.com<mailto:jflu...@research.att.com>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; 
steven20...@gmail.com<mailto:steven20...@gmail.com>
Subject: [onap-discuss] 答复: [dcae][holmes] How to Add a New Port Mapping to 
Existing Docker Containers?


Vijay,



Jack's on vacation. Do you have any idea on this?



Thanks,

Guangrong


原始邮件
发件人:GuangrongFu <steven20...@gmail.com<mailto:steven20...@gmail.com>>
收件人:LUCAS, JACK <jflu...@research.att.com<mailto:jflu...@research.att.com>>
抄送人:VENKATESH KUMAR, VIJAY <vv7...@att.com<mailto:vv7...@att.com>>onap-discuss 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>付光荣10144542;
日 期 :2018年09月12日 16:24
主 题 :[dcae][holmes] How to Add a New Port Mapping to Existing Docker Containers?
Hi Jack,

I need to map a new port to the Holmes rule management docker container. To my 
understanding, I should update the k8s-holmes-rules.yaml-template 
(https://gerrit.onap.org/r/gitweb?p=dcaegen2/platform/blueprints.git;a=blob;f=blueprints/k8s-holmes-rules.yaml-template;h=16bd515fc24214c87419fcd7d290e0383e089890;hb=refs/heads/master<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Ddcaegen2_platform_blueprints.git-3Ba-3Dblob-3Bf-3Dblueprints_k8s-2Dholmes-2Drules.yaml-2Dtemplate-3Bh-3D16bd515fc24214c87419fcd7d290e0383e089890-3Bhb-3Drefs_heads_master&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=6WYcUG7NY-ZxfqWx5MmzVQ&m=9NM2-HxV3lvkypE6I9QrO7jAaGdfWmUHrxYdcOVEq4M&s=q7esLylW1ZaDhZrbIvn4NbZsSee8pEMRYMOiY8fKsds&e=>).

Now what's confusing me is that in that template, the existing mapping is 
9101:0. That means Port 9101 of the host is mapped to Port 0 of the docker 
container. Theoretically, the mapping should be 9101:9101. Is there anything 
wrong from my understanding?

Besides, I want to set up a 9104:9104 mapping, shall I add it to the 
docker_config.ports section?

Thanks in advance.

BR,
Guangrong




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

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

Reply via email to