How to #install #policy #drools #drools-applications controller in #production environment #policy #production #kubernetes #install #drools
Hi,
I’m working on Beijing branch of ONAP and looking for a method to install policy controllers in kubernetes (production environment).
Policy project has this https://onap.readthedocs.io/en/beijing/submodules/policy/engine.git/docs/platform/installBeijingController.html as an official documentation for installing e.g. Beijing controller. Modifying running containers is not very sustainable solution as whenever container is created again from image (which happens easily in Kunernetes environment) all changes are lost.
Is there a designed way in Kubernetes to do policy controller installation e.g. with some volume mount and install automated at startup? Or should we create own drools image to bundle controller ready installed?
Br -Samuli
|
||
|
||
Rudolf Amirjanyan <rudolf@...>
I have same problem when installing the policy component of ONAP. All other containers () of <Policy> component are normally
installed except the <policy-BBBBB-drools-0> just in case I am pasting the outup of kubectl describe command.
Note instead of BBBB it the name is <bring> -------------------------------------->
root@serv2:/home/noc# kubectl describe pod policy-bring-drools-0 Started: Sun, 02 Sep 2018 01:40:32 +0300 <-------------------------------------------
On 08/31/2018 04:39 PM, Samuli Silvius
wrote:
--
|
||
|
||
Hi,
I do not have problems to install drools pod itself. Just looking for way to install “policy controller” e.g. Beijing controller inside drools pod in the official way.
Br -Samuli
From: onap-discuss@... [mailto:onap-discuss@...] On Behalf Of Rudolf Amirjanyan
Sent: sunnuntai 2. syyskuuta 2018 22.33 To: onap-discuss@...; s.silvius@... Subject: Re: [onap-discuss] How to #install #policy #drools #drools-applications controller in #production environment #kubernetes
I have same problem when installing the policy component of ONAP. All other containers () of <Policy> component are normally installed except the <policy-BBBBB-drools-0> just in case I am pasting the outup of kubectl describe command. Note instead of BBBB it the name is <bring> -------------------------------------->
root@serv2:/home/noc# kubectl describe pod policy-bring-drools-0 Started: Sun, 02 Sep 2018 01:40:32 +0300 <-------------------------------------------
On 08/31/2018 04:39 PM, Samuli Silvius wrote:
--
|
||
|
||
Jorge Hernandez
Hello Samuli,
The “beijing” controller is an experimental one that was introduced during the Beijing release to experiment with more efficient ways to bring control loops to live, but it is not the official controller for the use cases as of now.
The official one is the “amsterdam” controller (note the naming convention is the release name on which the controller was introduced). After an install if you query the drools controller for the
In an ONAP installation, the “amsterdam” controller should be preloaded, the caveat is that it won’t have “control loop” operational policies preloaded (as they are with a heat-based installation). It would require an additional step to load them. See “push-policies” step in https://wiki.onap.org/display/DW/Policy+on+OOM. This page may shed some light in your questions.
If you are playing with the exp. “Beijing” controller, and not the official “amsterdam” you can enable it by doing “features enable controlloop-beijing” on a drools container, you could embed that line in an initialization script, if you want the drools container/pod to come up with it enabled.
Jorge
From: onap-discuss@... [mailto:onap-discuss@...]
On Behalf Of Samuli Silvius
Sent: Tuesday, September 04, 2018 8:14 AM To: onap-discuss@...; rudolf@... Subject: Re: [onap-discuss] How to #install #policy #drools #drools-applications controller in #production environment #kubernetes
Hi,
I do not have problems to install drools pod itself. Just looking for way to install “policy controller” e.g. Beijing controller inside drools pod in the official way.
Br -Samuli
From: onap-discuss@... [mailto:onap-discuss@...]
On Behalf Of Rudolf Amirjanyan
I have same problem when installing the policy component of ONAP. All other containers () of <Policy> component are normally installed except the <policy-BBBBB-drools-0> just in case I am pasting the outup of kubectl describe command. Note instead of BBBB it the name is <bring> -------------------------------------->
root@serv2:/home/noc# kubectl describe pod policy-bring-drools-0 Started: Sun, 02 Sep 2018 01:40:32 +0300 <-------------------------------------------
On 08/31/2018 04:39 PM, Samuli Silvius wrote:
--
|
||
|