fluid icon indicating copy to clipboard operation
fluid copied to clipboard

Provide pod affinity to Alluxio master and workers

Open zhang-x-z opened this issue 2 years ago • 3 comments

Ⅰ. Describe what this PR does

Currently, we can only define node affinity in dataset spec. This PR provides the ability to define pod affinity for Alluxio master and workers. Users can define the pod affinity (include podAffinity and podAntiAffinity) in AlluxioRuntime using attributes: spec.master.runtimePodAffinity and spec.worker.runtimePodAffinity.

Ⅱ. Does this pull request fix one issue?

NONE

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

zhang-x-z avatar Nov 13 '23 06:11 zhang-x-z

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign trafalgarzzz for approval by writing /assign @trafalgarzzz in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

fluid-e2e-bot[bot] avatar Nov 13 '23 06:11 fluid-e2e-bot[bot]

Hi @zhang-x-z. Thanks for your PR.

I'm waiting for a fluid-cloudnative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

fluid-e2e-bot[bot] avatar Nov 13 '23 06:11 fluid-e2e-bot[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Nov 13 '23 06:11 sonarqubecloud[bot]