You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ruben Laguna (Jira)" <ji...@apache.org> on 2020/12/17 07:37:00 UTC

[jira] [Updated] (NIFI-8100) Provide a /health endpoint that do not require authentication for use in LoadBalancer

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

Ruben Laguna updated NIFI-8100:
-------------------------------
    Description: 
Usually load balancers with AWS Application Load Balancer use periodic health checks to determine which node it should forward requests to. 

Today we have the /status api endpoint but that is not suitable because it really requires authentication on a secure nifi installation and there is no way to provide authorization headers in the health checks performed by load balancers. 

So I would like to have a /heath or /health-check endpoint that can be "open" that answers 200 OK *when the node is connected to the cluster and a 4xx-5xx error if the node is disconnected* ("Only a node connected to a cluster can process the request", "This node is currently not connect to the cluster. Any modifications to the data flow made here will not replicate across the cluster"). 

This will simplify secure nifi deployment with load balancing, right now if a node gets disconnected users will be still be routed to it even if that node is really not usable. 

  was:
Usually load balancers with AWS Application Load Balancer use periodic health checks to determine which node it should forward requests to. 

Today we have the /status api endpoint but that is not suitable because it really requires authentication on a secure nifi installation and there is no way to provide authorization headers in the health checks performed by load balancers. 

So I would like to have a /heath or /health-check endpoint that can be "open" that answers 200 OK* when the node is connected to the cluster and a 4xx-5xx error if the node is disconnected *("Only a node connected to a cluster can process the request", "This node is currently not connect to the cluster. Any modifications to the data flow made here will not replicate across the cluster"). 

This will simplify secure nifi deployment with load balancing, right now if a node gets disconnected users will be still be routed to it even if that node is really not usable. 


> Provide a /health endpoint that do not require authentication for use in LoadBalancer
> -------------------------------------------------------------------------------------
>
>                 Key: NIFI-8100
>                 URL: https://issues.apache.org/jira/browse/NIFI-8100
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Ruben Laguna
>            Priority: Major
>
> Usually load balancers with AWS Application Load Balancer use periodic health checks to determine which node it should forward requests to. 
> Today we have the /status api endpoint but that is not suitable because it really requires authentication on a secure nifi installation and there is no way to provide authorization headers in the health checks performed by load balancers. 
> So I would like to have a /heath or /health-check endpoint that can be "open" that answers 200 OK *when the node is connected to the cluster and a 4xx-5xx error if the node is disconnected* ("Only a node connected to a cluster can process the request", "This node is currently not connect to the cluster. Any modifications to the data flow made here will not replicate across the cluster"). 
> This will simplify secure nifi deployment with load balancing, right now if a node gets disconnected users will be still be routed to it even if that node is really not usable. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)