Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NiFi cluster hostname #26

Merged
merged 1 commit into from
Aug 4, 2023
Merged

NiFi cluster hostname #26

merged 1 commit into from
Aug 4, 2023

Conversation

saidsef
Copy link
Owner

@saidsef saidsef commented Aug 3, 2023

This StatefulSet of Apache NiFi deployment uses hostname as reference in the cluster names. When Apache NiFi nodes/pods occasionally terminated and redeployed old zombie nodes/pods hostnames are still list in the cluster page and can not be removed, this will/should fix that bug

@saidsef saidsef added enhancement New feature or request preview preview labels Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
github-actions[bot]
github-actions bot previously approved these changes Aug 3, 2023
… with Kubernetes pod name from metadata name

This StatefulSet of Apache NiFi deployment uses hostname as reference in the cluster names. When Apache NiFi nodes/pods occasionally terminated and redeployed old zombie nodes/pods hostnames are still list in the cluster page and can not be removed, this will/should fix that bug

The HOSTNAME env variable is never empty as Kubernetes controller will always populate it if is not set

The NIFI_CLUSTER_NODE_ADDRESS requires FQDN else it will generate it own address and that will result in error.

Added setHostnameAsFQDN to Kubernetes StatefulSet deployment, this has been added as stable in Kubernetes 1.22 and we are currently running Kubernetes 1.27
@saidsef saidsef merged commit cf35d5a into main Aug 4, 2023
2 checks passed
@saidsef saidsef deleted the cluster-node-names branch August 4, 2023 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preview preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant