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

feat: Add NodeSelectorChaos #99

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Conversation

mikolaj-krzyzanowski-f3
Copy link

@mikolaj-krzyzanowski-f3 mikolaj-krzyzanowski-f3 commented Jan 7, 2025

What problem does this PR solve?

What's changed and how it works?

Related changes

  • This change also requires further updates to the website (e.g. docs)
  • This change also requires further updates to the UI interface

Cherry-pick to release branches (optional)

This PR should be cherry-picked to the following release branches:

  • release-2.6
  • release-2.5

Checklist

CHANGELOG

Must include at least one of them.

  • I have updated the CHANGELOG.md
  • I have labeled this PR with "no-need-update-changelog"

Tests

Must include at least one of them.

  • Unit test
  • E2E test
  • Manual test

Used the following schedule:

schedule.yml
  ---
  apiVersion: chaos-mesh.org/v1alpha1
  kind: Schedule
  metadata:
    name: az-loss
  spec:
    schedule: '0/5 * * * *'
    historyLimit: 5
    concurrencyPolicy: 'Forbid'
    startingDeadlineSeconds: 1
    type: 'Workflow'
    workflow:
      entry: az-loss-workflow-entry
      templates:
        - name: az-loss-workflow-entry
          templateType: Serial
          deadline: 2m
          children:
            - eu-west-2a-az-chaos-20m
        - name: eu-west-2a-az-chaos-20m
          templateType: NodeSelectorChaos
          deadline: 1m
          nodeselectorChaos:
            value: eu-west-2a
            key: topology.kubernetes.io/zone
            selector:
              deployments:
                nats-eks:
                  - nats-box
Before chaos runs:

image

After chaos runs:

image

Side effects

  • Breaking backward compatibility

DCO

If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it:

git commit --amend --signoff
git push --force

@mikolaj-krzyzanowski-f3 mikolaj-krzyzanowski-f3 requested a review from a team as a code owner January 7, 2025 11:15
@mikolaj-krzyzanowski-f3 mikolaj-krzyzanowski-f3 changed the title WIP feat: Add MoveAZChaos Jan 10, 2025
@mikolaj-krzyzanowski-f3 mikolaj-krzyzanowski-f3 force-pushed the quinnh-add-moveaz branch 8 times, most recently from ddee4af to 2eca657 Compare January 10, 2025 13:28
Copy link

Created new release based on commit aef25a0

Release tag: v2.6.1-f3-aef25-quinnh-add-moveaz

Link to release

Copy link

Created new release based on commit 132610c

Release tag: v2.6.1-f3-13261-quinnh-add-moveaz

Link to release

@mikolaj-krzyzanowski-f3 mikolaj-krzyzanowski-f3 changed the title feat: Add MoveAZChaos feat: Add NodeSelectorChaos Jan 10, 2025
Copy link

Created new release based on commit c8ee3bf

Release tag: v2.6.1-f3-c8ee3-quinnh-add-moveaz

Link to release

Copy link

Created new release based on commit 29b1047

Release tag: v2.6.1-f3-29b10-quinnh-add-moveaz

Link to release

Copy link

Created new release based on commit c2dcf74

Release tag: v2.6.1-f3-c2dcf-quinnh-add-moveaz

Link to release

@mikolaj-krzyzanowski-f3 mikolaj-krzyzanowski-f3 merged commit bdc0e4f into master Jan 13, 2025
48 checks passed
@mikolaj-krzyzanowski-f3 mikolaj-krzyzanowski-f3 deleted the quinnh-add-moveaz branch January 13, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants