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

Added topology aware volume scheduling for node service #33

Open
wants to merge 1 commit into
base: developing
Choose a base branch
from

Conversation

AmitRoushan
Copy link

What this PR does / why we need it:
The PR maintain code changes of topology aware volume scheduling for node service:

  • Node service pulls topology keys from K8S node
  • Node service push topology keys in GetNodeIno CSI gRPC call
  • RBAC changes to get K8S node info
  • UT framework

@AmitRoushan AmitRoushan changed the title [WIP] Added topology aware volume scheduling for node service Added topology aware volume scheduling for node service Aug 20, 2021
Copy link

@kumarashit kumarashit left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -52,6 +52,11 @@ spec:
env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME

Choose a reason for hiding this comment

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

suggest do not use ESDK in the name. keep CSI_NODENAME

Copy link
Author

Choose a reason for hiding this comment

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

Updated environment variable name as per suggestion

@@ -36,6 +36,12 @@ spec:
- "--containerized"
- "--driver-name=csi.huawei.com"
- "--volume-use-multipath=true"
env:
- name: CSI_ESDK_NODENAME
valueFrom:

Choose a reason for hiding this comment

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

same here

Copy link
Author

Choose a reason for hiding this comment

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

Updated environment variable name as per suggestion

@@ -65,6 +65,11 @@ spec:
env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME

Choose a reason for hiding this comment

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

same here

Copy link
Author

Choose a reason for hiding this comment

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

Updated environment variable name as per suggestion

@@ -88,6 +88,11 @@ spec:
env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME

Choose a reason for hiding this comment

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

same here

Copy link
Author

Choose a reason for hiding this comment

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

Updated environment variable name as per suggestion

@AmitRoushan AmitRoushan force-pushed the topology-node-plugin-modification branch from 1b765fe to 9d5246f Compare August 31, 2021 05:55
@AmitRoushan AmitRoushan force-pushed the topology-node-plugin-modification branch from 9d5246f to ca8a32f Compare August 31, 2021 05:59
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.

3 participants