[ 
https://issues.apache.org/jira/browse/NIFI-12523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominique Jean-Prost updated NIFI-12523:
----------------------------------------
    Description: 
Currently, when running in a container environment (docker for instance) there 
is no way to provide values to populate Initial Node Identity which is expected 
in {{authorizers.xml}}

cf 
[https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster-node-identities]

The startup scripts of nifi in a docker environment only take care for the 
moment of {{{}Initial Admin Identity{}}}, but not {{{}Initial Node 
Identity{}}}, cf 
[https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster-node-identities]

Instead of using a single value for {{{}NODE_IDENTITY{}}}, it should be used a 
values list like {{{}INITIAL_NODE_IDENTITIES{}}}, and iterate through the list 
and add as much entries in the file.

We could be inspired by 
[https://gist.github.com/fdeantoni/529fb4b8b7555b41b7f15643983fe7fb]
 

  was:
Currently, when running in a container environment (docker for instance) there 
is no way to provide values to populate Initial Node Identity which is expected 
in {{authorizers.xml}}

cf 
[https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster-node-identities]

The startup scripts of nifi in a docker environment only take care for the 
moment of {{Initial Admin Identity}}, but not {{Initial Node Identity}}, cf 
[https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster-node-identities]

Instead of using a single value for {{NODE_IDENTITY}}, it should be used a 
values list like {{INITIAL_NODE_IDENTITIES}}, and iterate thought the list and 
add as much entries in the file.

We could be inspired by 
[https://gist.github.com/fdeantoni/529fb4b8b7555b41b7f15643983fe7fb]
 


> Provide a way to populate Initial Node Identities for containered envirronment
> ------------------------------------------------------------------------------
>
>                 Key: NIFI-12523
>                 URL: https://issues.apache.org/jira/browse/NIFI-12523
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Dominique Jean-Prost
>            Priority: Major
>
> Currently, when running in a container environment (docker for instance) 
> there is no way to provide values to populate Initial Node Identity which is 
> expected in {{authorizers.xml}}
> cf 
> [https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster-node-identities]
> The startup scripts of nifi in a docker environment only take care for the 
> moment of {{{}Initial Admin Identity{}}}, but not {{{}Initial Node 
> Identity{}}}, cf 
> [https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster-node-identities]
> Instead of using a single value for {{{}NODE_IDENTITY{}}}, it should be used 
> a values list like {{{}INITIAL_NODE_IDENTITIES{}}}, and iterate through the 
> list and add as much entries in the file.
> We could be inspired by 
> [https://gist.github.com/fdeantoni/529fb4b8b7555b41b7f15643983fe7fb]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to