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

Remove creation of manageiq.liveness-check topic #1101

Merged
merged 3 commits into from
May 24, 2024

Conversation

nasark
Copy link
Member

@nasark nasark commented May 8, 2024

We no longer use a push/pop approach as health check for kafka via the orchestrator and so this topic no longer needs to be created

Ref: ManageIQ/manageiq#23020

@miq-bot assign @bdunne
@miq-bot add_reviewers @bdunne, @Fryguy
@miq-bot add_labels bug, radjabov/yes?

@nasark nasark requested a review from bdunne as a code owner May 8, 2024 15:54
@miq-bot miq-bot requested a review from Fryguy May 8, 2024 15:56
@nasark nasark changed the title Remove creation of manageiq.liveness-check topic [WIP] Remove creation of manageiq.liveness-check topic May 8, 2024
@nasark
Copy link
Member Author

nasark commented May 8, 2024

Need a cr migration to remove the manageiq.liveness-check topic that is already deployed

@miq-bot miq-bot added the wip label May 8, 2024
@nasark nasark changed the title [WIP] Remove creation of manageiq.liveness-check topic Remove creation of manageiq.liveness-check topic May 23, 2024
@miq-bot miq-bot removed the wip label May 23, 2024
@nasark nasark force-pushed the remove_health_check_topic branch from 46749fa to 23007fd Compare May 23, 2024 19:26
@nasark
Copy link
Member Author

nasark commented May 23, 2024

@bdunne Added the CR migration, please review

@nasark nasark force-pushed the remove_health_check_topic branch from 23007fd to 73b87c5 Compare May 23, 2024 19:43
@@ -59,6 +60,19 @@ func FindKafka(client client.Client, scheme *runtime.Scheme, namespace string, n
return kafka
}

func FindKafkaTopic(client client.Client, scheme *runtime.Scheme, namespace string, name string, group string) *unstructured.Unstructured {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added group as a parameter so that this function can be reused downstream

@miq-bot
Copy link
Member

miq-bot commented May 23, 2024

Checked commits nasark/manageiq-pods@905ebb3~...73b87c5 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. ⭐

@bdunne bdunne merged commit 3ee8237 into ManageIQ:master May 24, 2024
2 checks passed
@Fryguy
Copy link
Member

Fryguy commented May 24, 2024

Backported to radjabov in commit 2a49d1b.

commit 2a49d1b638270c82ad9169d9e2c47cebb0d0ff3a
Author: Brandon Dunne <brandondunne@hotmail.com>
Date:   Fri May 24 13:52:54 2024 -0400

    Merge pull request #1101 from nasark/remove_health_check_topic
    
    Remove creation of manageiq.liveness-check topic
    
    (cherry picked from commit 3ee8237f958bfeb15476c928f0da640a118d591c)

Fryguy pushed a commit that referenced this pull request May 24, 2024
Remove creation of manageiq.liveness-check topic

(cherry picked from commit 3ee8237)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants