Skip to content

Added topology aware volume scheduling for node service#33

Open
AmitRoushan wants to merge 1 commit intoHuawei:developingfrom
AmitRoushan:topology-node-plugin-modification
Open

Added topology aware volume scheduling for node service#33
AmitRoushan wants to merge 1 commit intoHuawei:developingfrom
AmitRoushan:topology-node-plugin-modification

Conversation

@AmitRoushan
Copy link
Copy Markdown

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
Copy Markdown

@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

env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME
Copy link
Copy Markdown

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
Copy Markdown
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

- "--volume-use-multipath=true"
env:
- name: CSI_ESDK_NODENAME
valueFrom:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

same here

Copy link
Copy Markdown
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

env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

same here

Copy link
Copy Markdown
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

env:
- name: CSI_ENDPOINT
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: CSI_ESDK_NODENAME
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

same here

Copy link
Copy Markdown
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