Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

active_passive_reconciler should validate all pods cross zones #21

Merged
merged 10 commits into from
Oct 22, 2020
Merged

active_passive_reconciler should validate all pods cross zones #21

merged 10 commits into from
Oct 22, 2020

Conversation

yangwenyanibm
Copy link
Contributor

@yangwenyanibm yangwenyanibm commented Oct 11, 2020

Let GetMaxStatefulSetVersion to return all StatefulSet at the Max Version, and then loop through the StatefulSet list and validating pods in these StatefulSets.

Motivation and Context

When pods deployed cross AZs, the active passive reconciler only validate pods belongs to one AZ.
If the active pod deployed in another AZ, then the component will be unavaialbe.

#17

Checklist:

Check item if necessary.

  • Review PRs of changed Quarks dependencies
  • Update this PR after the release of Quarks dependencies

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 11, 2020

CLA Check
The committers are authorized under a signed CLA.

@rohitsakala
Copy link
Contributor

rohitsakala commented Oct 13, 2020

Looks good to me. Team will discuss the issue and PR #17 in our plannings (Every Monday) before merging.

@manno
Copy link
Member

manno commented Oct 22, 2020

It would be great to keep the integration test. Added this story to modify .github/kind-config.yaml to add another worker and node labels: https://www.pivotaltracker.com/story/show/171304400

Copy link
Member

@manno manno left a comment

Choose a reason for hiding this comment

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

@yangwenyanibm Could you try the test after #22 is merged?

Copy link
Member

@manno manno left a comment

Choose a reason for hiding this comment

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

Including the first multi az test! 👏

@manno manno merged commit bf1f0d9 into cloudfoundry-incubator:master Oct 22, 2020
@manno manno added the enhancement New feature or request label Jan 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants