-
Notifications
You must be signed in to change notification settings - Fork 347
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
Configurable mode for kube proxy #937
Configurable mode for kube proxy #937
Conversation
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
- The Applier discovery internals were not properly initialized if stack delete happens before apply - The "unit" test was not testing the stack delete path at all - When trying to ignore NotFound and Gone cases in resource deletion, code incorrectly always returned an error --> only one resource per stack was deleted 🤦 - Discovering pruneable resource incorrectly collected the api group/version/kind info as empty strings. Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
…in stack apply Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
…bject Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Marking as draft as this needs some finetuning... Now that the API discovery is actually properly working, it turns out that finding prunable resources takes quite a bit of time and resources:
This is the reason why smokes are red, we're hitting timeouts. 😢 Need to figure out some way(s) to speed things up |
Some general refactorings for stack to simplify and add debuggability. Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
…n creadnetials so we know we have full access to all namespaces anyway. Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
…When we bootup k0s, it needs to sync / apply LOT of manifests and resource in the API and thus will make lot of requests. Thus many of the calls ended up being throttled thus slowing up the speed in which we get everything up-and-running. Signed-off-by: Jussi Nummelin <jnummelin@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.
This is great!
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Issue
Currently kube-proxy mode is not really configurable. There are cases when we want to make the proxy mode something else than the default
iptables
, e.g.:Partial (the kube-proxy part) fix for #427 as this now add possibility to disable kube-proxy completely.
What this PR Includes
This PR makes kube proxy mode configurable and possible to disable too.
This also includes quite a few fixes for the stack delete logic as that was pretty badly broken in some cases.