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(csi/node): add nvme-tcp init container #423

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

tiagolobocastro
Copy link
Contributor

@tiagolobocastro tiagolobocastro commented Feb 27, 2024

Adds init container which waits on the nvme-tcp kernel module to be loaded.
It's disabled by default.
todo: use common init container image

Description

Motivation and Context

This would allow an umbrella chart to enable the init container, preventing errors when starting the csi-node container.

Regression

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added unit tests to cover my changes.

Adds init container which waits on the nvme-tcp kernel module to be loaded.
It's disabled by default.
todo: use common init container image

Signed-off-by: Tiago Castro <[email protected]>
@tiagolobocastro
Copy link
Contributor Author

bors merge

bors-openebs-mayastor bot pushed a commit that referenced this pull request Feb 29, 2024
423: feat(csi/node): add nvme-tcp init container r=tiagolobocastro a=tiagolobocastro

Adds init container which waits on the nvme-tcp kernel module to be loaded. 
It's disabled by default.
todo: use common init container image

<!

Co-authored-by: Tiago Castro <[email protected]>
@tiagolobocastro
Copy link
Contributor Author

bors merge

@bors-openebs-mayastor
Copy link
Contributor

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit 3aa7d1b into develop Feb 29, 2024
8 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the csi-node-init branch February 29, 2024 17:13
@@ -327,6 +327,12 @@ csi:
tolerations: []
# -- Set PriorityClass, overrides global
priorityClassName: ""
initContainers:
enabled: false
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need this switch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not enabled for mayastor chart itself, the umbrella should enable it.

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.

4 participants