-
Notifications
You must be signed in to change notification settings - Fork 346
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
Add option --single for single node #737
Conversation
May be in a single node set up we could also automatically use sqlite storage instead of etcd, to save some local machine resources? |
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.
If we do not start konnectivity, we also need to remove the konnectivity related configs from kube-apiserver
yes, absolutely, but solving that is trickier that it may seem. |
also join api can be disabled |
b10e832
to
1d05482
Compare
disables konnectivity, and implies --enable-worker Signed-off-by: Natanael Copa <ncopa@mirantis.com>
The k0sVars is currently a package scoped variable in the cmd package. Use that instead of passing it as an argument. Also use the k0sVars instead of constant.GetConfig, so we only get a single call to GetConfig() from a central place. Signed-off-by: Natanael Copa <ncopa@mirantis.com>
Refactor so we can pass the k0sVars with the default storage type. Signed-off-by: Natanael Copa <ncopa@mirantis.com>
Signed-off-by: Natanael Copa <ncopa@mirantis.com>
Wait til k0s has terminated before restarting it. This should hopefully fix the hacontrolplan test flakiness. Signed-off-by: Natanael Copa <ncopa@mirantis.com>
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.
lgtm 👍 (but we should also update our single node guide appropriately)
Signed-off-by: Natanael Copa <ncopa@mirantis.com>
503294a
disables konnectivity, and implies --enable-worker
Signed-off-by: Natanael Copa ncopa@mirantis.com
name: Pull Request
about: Create a Pull Request
title: ''
labels: ''
assignees: ''
Issue
Fixes #720