-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature StorageCapacityTracking for Powermax #281
Conversation
pkg/drivers/powermax.go
Outdated
@@ -53,6 +53,8 @@ const ( | |||
CSIPmaxVsphereHostname = "<X_CSI_VSPHERE_HOSTNAME>" | |||
CSIPmaxVsphereHost = "<X_CSI_VCENTER_HOST>" | |||
CSIPmaxChap = "<X_CSI_POWERMAX_ISCSI_ENABLE_CHAP>" | |||
// CSIStorageCapacityEnabled - Storage capacity flag | |||
CSIStorageCapacityEnabled = "false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the use of this param?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This parameter is a redundant entry.
Rectified it and removed this from constant list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@tssushma We can also give users an option for configuring the |
@tssushma , is this change intended for 2.7 or 2.8 version of the driver |
@rensyct , Done updating the version to v2.8. |
@@ -0,0 +1 @@ | |||
minUpgradePath: v2.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be 2.7.0
forceRemoveDriver: true | ||
common: | ||
# Image for CSI PowerMax driver v2.7.0 | ||
image: dellemc/csi-powermax:v2.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be v2.8.0
@@ -1 +1 @@ | |||
minUpgradePath: v2.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove test files related to v2.7.0
@@ -0,0 +1 @@ | |||
minUpgradePath: v2.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be v2.7.0
- name: socket-dir | ||
mountPath: /var/run/csi | ||
- name: driver | ||
image: dellemc/csi-powermax:v2.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be v2.8.0
capabilities: | ||
add: ["SYS_ADMIN"] | ||
allowPrivilegeEscalation: true | ||
image: dellemc/csi-powermax:v2.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be v2.8.0
# true: enable storage capacity tracking | ||
# false: disable storage capacity tracking | ||
storageCapacity: true | ||
# Config version for CSI PowerMax v2.7.0 driver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be v2.8.0
forceUpdate: false | ||
forceRemoveDriver: true | ||
common: | ||
# Image for CSI PowerMax driver v2.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be v2.8.0
- name: socket-dir | ||
mountPath: /var/run/csi | ||
- name: driver | ||
image: dellemc/csi-powermax:v2.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be v2.8.0
capabilities: | ||
add: ["SYS_ADMIN"] | ||
allowPrivilegeEscalation: true | ||
image: dellemc/csi-powermax:v2.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be v2.8.0
Description
Support storagecapacitytracking feature for PowerMax.
Additional context
This feature helps the scheduler to schedule the pod on a node (satisfying the topology constraints) only if the requested capacity is available on the storage array.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration