Skip to content

Conversation

@bdunne
Copy link
Member

@bdunne bdunne commented Oct 26, 2023

Related to: ManageIQ/manageiq-pods#1003

Note: This will also apply to the workflow pods.

i.matchExpressions&.each { |a| return(a.values) if a.key == "kubernetes.io/arch" }
end

return ["amd64"]
Copy link
Member Author

Choose a reason for hiding this comment

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

I added the same default value in the operator. I'm not sure if it's better to have a default or not set the affinity at all.

@Fryguy Fryguy closed this Oct 27, 2023
@Fryguy Fryguy reopened this Oct 27, 2023
@Fryguy Fryguy merged commit 90989d7 into ManageIQ:master Oct 30, 2023
@bdunne bdunne deleted the node_affinity branch October 30, 2023 21:37
@Fryguy
Copy link
Member

Fryguy commented Oct 31, 2023

Backported to quinteros in commit cf43b19.

commit cf43b191d13a0d0b8856ea5515cf88c92455d4fd
Author: Jason Frey <[email protected]>
Date:   Mon Oct 30 15:50:53 2023 -0400

    Merge pull request #22757 from bdunne/node_affinity
    
    Add Node Affinity arch selector based on the affinity of the orchestrator
    
    (cherry picked from commit 90989d742d720f039222bf2638fa5636b61fedbb)

Fryguy added a commit that referenced this pull request Oct 31, 2023
Add Node Affinity arch selector based on the affinity of the orchestrator

(cherry picked from commit 90989d7)
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.

2 participants