-
Notifications
You must be signed in to change notification settings - Fork 368
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
Make OpenEBS as a helm extension #3651
Conversation
After giving this some more thought we cannot merge this because those with dynamic config may end up in a crash loop unable to modify their configuration. How should we deal with the situation when someone has both defined? |
7df72a0
to
5197a77
Compare
4af3f67
to
d1cd93d
Compare
The PR is marked as stale since no activity has been recorded in 30 days |
d5de429
to
07bb4da
Compare
I had forgotten about this and became stale. Can you please review this? the issue is solved |
docs/storage.md
Outdated
|
||
### Installing 3rd party storage solutions | ||
|
||
Follow your storage driver's installation instructions. Note that the Kubelet installed by k0s uses a slightly different path for its working directory (`/varlib/k0s/kubelet` instead of `/var/lib/kubelet`). Consult the CSI driver's configuration documentation on how to customize this path. |
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 should better mention the --data-dir
flag, since the path is /path/to/data-dir/kubelet
, and /var/lib/k0s
happens to be the default for data-dir.
c562117
to
da944d2
Compare
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 need to have a migration integration test for this.
32feaf5
to
6d3d6da
Compare
93a0456
to
16783c5
Compare
I'm running the tests locally, they have failed so many times at this point I think they could be legit... |
Apparently the failures are legit, I broke something, perhaps the flag --single? |
OK found the issue fixing it now |
16783c5
to
8c83e52
Compare
0b6aef2
to
5d35a0b
Compare
@@ -168,6 +168,7 @@ func GetWorkerFlags() *pflag.FlagSet { | |||
} | |||
|
|||
var availableComponents = []string{ | |||
constant.ApplierManagerComponentName, |
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.
Just realizing this is newly added here. Could you update the string in the docs accordingly?
Line 525 in ed00ede
--disable-components strings disable components (valid items: autopilot,control-api,coredns,csr-approver,endpoint-reconciler,helm,konnectivity-server,kube-controller-manager,kube-proxy,kube-scheduler,metrics-server,network-provider,node-role,system-rbac,worker-config) |
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]>
5d35a0b
to
713bd28
Compare
OpenEBS is migrated from `spec.extensions.storage` to helm. This is done for consistency with the rest of the documentation and allows to untie the OpenEBS version from the k0s version. This commit makes three changes: 1- Add the corresponding docs changes 2- Deprecate the storage API in kubebuilder 3- Ignore the extensions configuration if OpenEBS is defined as both a helm extension and a storage extension Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]> Co-authored-by: Tom Wieczorek <[email protected]>
This is required for the OpenEBS test, this is extracted to a separate commit to make history a bit cleaner. Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]>
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]> Co-authored-by: Tom Wieczorek <[email protected]>
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]>
713bd28
to
6aa4616
Compare
Description
OpenEBS is migrated from
spec.extensions.storage
to helm. This is done for consistency with the rest of the documentation and allows to untie the OpenEBS version from the k0s version.This commit makes three changes:
1- Add the corresponding docs changes
2- Deprecate the storage API in kubebuilder
3- Force a panic if OpenEBS is defined as both a helm extension and a
storage extension
Fixes #3433
Type of change
How Has This Been Tested?
Checklist: