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

[component/clusteragent] Change anti-affinity to "preferred" #582

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

davidor
Copy link
Member

@davidor davidor commented Jul 29, 2022

What does this PR do?

Changes the DCA anti-affinity from "required" to "preferred".
This is because when using "required" agent updates can't work on clusters with 1 node.
We're already using "preferred" in the cluster check runners.

Describe your test plan

Deploy in a cluster with one node. Make an update that affects the DCA, for example, enable/disable the orchestrator explorer feature. Check that the new DCA pod is deployed correctly.

@davidor davidor requested review from a team as code owners July 29, 2022 09:48
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: bug, enhancement, refactoring, documentation, tooling

@davidor davidor added the bug Something isn't working label Jul 29, 2022
@davidor davidor added this to the v1.0.0 milestone Jul 29, 2022
@davidor davidor force-pushed the davidor/dca-preferred-anti-affinity branch from b14ddda to a168cf3 Compare July 29, 2022 10:22
@codecov-commenter
Copy link

Codecov Report

Merging #582 (a168cf3) into main (6753604) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #582   +/-   ##
=======================================
  Coverage   58.51%   58.51%           
=======================================
  Files           3        3           
  Lines         135      135           
=======================================
  Hits           79       79           
  Misses         43       43           
  Partials       13       13           
Flag Coverage Δ
unittests 58.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6753604...a168cf3. Read the comment docs.

@davidor davidor merged commit 2ea780b into main Jul 29, 2022
@davidor davidor deleted the davidor/dca-preferred-anti-affinity branch July 29, 2022 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants