cetic / helm-nifi

Helm Chart for Apache Nifi
Apache License 2.0
215 stars 228 forks source link

[cetic/nifi] Can't create cluster with helm charts #200

Closed thanhhaiduong closed 2 years ago

thanhhaiduong commented 3 years ago

Hell, I want create cluster with helm charts, but I get error. somebody helm me?

thanhhaiduong commented 2 years ago

I want setup 3 pod nifi with helm chart on k8s. I want authen with Singeruser. But I can't see cluster on nifi even though set properties with isNode: true. how?

thanhhaiduong commented 2 years ago

image My logs: [Process Cluster Protocol Request-18] o.a.n.c.p.impl.SocketProtocolListener Failed processing protocol message from nifi-1.nifi-headless.nifi.svc.cluster.local due to Received fatal alert: certificate_unknown

ElfoLiNk commented 2 years ago

Does anyone knows why this is happening?

Screenshot 2021-12-06 at 16 23 01

OlehKovalchyn commented 2 years ago

@ElfoLiNk it's via LDAP? Describe please how you deploy nifi and which components did you use.

ElfoLiNk commented 2 years ago

Hi @OlehKovalchyn i'm deploying it with the helm chart with traefik as ingress and keycloak oidc

leshibily commented 2 years ago

@ElfoLiNk can we deploy a Nifi cluster when the auth is singleUser?

I see the command section is only added when ldap or oidc is enabled.

...
{{- if or (.Values.auth.ldap.enabled) (.Values.auth.oidc.enabled) }}        
        command:
        - bash
        - -ce
        - |
          prop_replace () {
            target_file=${NIFI_HOME}/conf/${3:-nifi.properties}
            echo "updating ${1} in ${target_file}"
            if egrep "^${1}=" ${target_file} &> /dev/null; then
              sed -i -e "s|^$1=.*$|$1=$2|"  ${target_file}
            else
              echo ${1}=${2} >> ${target_file}
            fi
          }
          mkdir -p ${NIFI_HOME}/config-data/conf
          ....
shuhaib3 commented 2 years ago

@thanhhaiduong were you able to fix this issue.

thanhhaiduong commented 2 years ago

@thanhhaiduong were you able to fix this issue.

not yet, can you help me?

mbaron2 commented 2 years ago

Hello @thanhhaiduong , Could wou give some details of your implementation ? I would create a nifi cluster with this helm but it's doesn't work.

Thanks

github-actions[bot] commented 2 years ago

This issue is stale because it has not seen recent activity. Remove stale label or comment or this will be closed.