-
Notifications
You must be signed in to change notification settings - Fork 372
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
Custom volume plugin dir #495
Conversation
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.
The changing path to kubelet volume plugin dir needs IMO some attention
docs/configuration.md
Outdated
@@ -89,6 +89,7 @@ spec: | |||
vxlanVNI: 4096 | |||
mtu: 1450 | |||
wireguard: false | |||
flexVolumeDriverPath: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds |
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.
I think we should have a explanatory title/item below for this too.
Kubelet already has defaults for this, so this should not be needed. Signed-off-by: Lukas Lindqvist <lukas.lndqvst@gmail.com>
I have applied the requested changes. Now the default location should be properly set inside the default kubelet configuration for workers. However, I want to note that this change includes a slight regression from main. Currently k0s checks if the path supplied to I see two possible fixes for this:
|
Signed-off-by: Lukas Lindqvist <lukas.lndqvst@gmail.com>
I think the regression from main is acceptable given that customizing the plugin dir should not be needed in most cases. |
name: Pull Request
about: Create a Pull Request
title: 'Custom volume plugin dir'
labels: ''
assignees: ''
Issue
Fixes #494
What this PR Includes
This PR includes new configuration options to allow the user setting a custom volumePluginDir. Sample configs are also included for getting k0s to work on Fedora CoreOS.