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(scheduling): add zfs pool capacity tracking #335

Merged
merged 7 commits into from May 31, 2021

Conversation

shubham14bajpai
Copy link
Member

@shubham14bajpai shubham14bajpai commented May 20, 2021

Signed-off-by: shubham shubham.bajpai@mayadata.io

Why is this PR required? What issue does it fix?:

This PR

  • add ZFSNode CRD
  • add CapacityWeighted scheduler

What this PR does?:

Does this PR require any upgrade changes?:

If the changes in this PR are manually verified, list down the scenarios covered::

Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Fixes #
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Has the change log section been updated?
  • Commit has unit tests
  • Commit has integration tests
  • (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
  • (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

Signed-off-by: shubham <shubham.bajpai@mayadata.io>
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
@shubham14bajpai shubham14bajpai added this to Pre-commits and Designs - Due: May 31 2021 in 2.10 Release Tracker - Due June 15th. May 20, 2021
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
pkg/driver/controller.go Outdated Show resolved Hide resolved
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
@shubham14bajpai shubham14bajpai marked this pull request as ready for review May 20, 2021 11:23
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
pkg/driver/agent.go Outdated Show resolved Hide resolved
pkg/driver/controller.go Outdated Show resolved Hide resolved
pkg/driver/controller.go Outdated Show resolved Hide resolved
pkg/driver/controller.go Outdated Show resolved Hide resolved
Copy link
Member

@akhilerm akhilerm left a comment

Choose a reason for hiding this comment

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

given some comments.

Signed-off-by: shubham <shubham.bajpai@mayadata.io>
@akhilerm akhilerm self-requested a review May 31, 2021 07:38
Copy link
Member

@akhilerm akhilerm left a comment

Choose a reason for hiding this comment

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

LGTM

// Finally, if no error occurs we Forget this item so it does not
// get queued again until another change happens.
c.workqueue.Forget(obj)
klog.Infof("Successfully synced '%s'", key)
Copy link
Contributor

Choose a reason for hiding this comment

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

let us remove this (or put it under more verbose) as it will pollute the log every minute.

Copy link
Contributor

@pawanpraka1 pawanpraka1 left a comment

Choose a reason for hiding this comment

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

looks good.

Signed-off-by: shubham <shubham.bajpai@mayadata.io>
@pawanpraka1 pawanpraka1 merged commit 3eb2c9e into openebs:master May 31, 2021
2.10 Release Tracker - Due June 15th. automation moved this from Pre-commits and Designs - Due: May 31 2021 to Done May 31, 2021
@pawanpraka1 pawanpraka1 added this to the v1.8.0 milestone May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants