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

Add way to specify kubeadm's --ignore-preflight-errors in InitConfiguration and JoinConfiguration #1460

Closed
marccarre opened this issue Mar 21, 2019 · 2 comments · Fixed by kubernetes/kubernetes#75499
Assignees
Labels
kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
Milestone

Comments

@marccarre
Copy link

What would you like to be added:

A single way to configure all of kubeadm's behaviour.
In particular, given ignorePreflightErrors and externalcfg are currently disjoint:

I would like a way to specify the set of strings corresponding to --ignore-preflight-errors's value as an "array" in (at least) InitConfiguration and JoinConfiguration.

Why is this needed:

This would simplify programmatic usage of kubeadm: one configuration file to generate, and then pass to kubeadm.

Potential way forward:

  1. Keep --ignore-preflight-errors for backward-compatibility (for now).

  2. Add the following field to both InitConfiguration and JoinConfiguration:

    IgnorePreflightErrors []string `json:"ignorePreflightErrors,omitempty"`
  3. Take the union of both sets, validate it (as currently done), and use this going in the rest of the program.

Misc.:

Happy to make the change myself, once I get a "go" (or at least, no "no-go") from someone more knowledgeable. (Maybe @luxas? 🙂 )

/kind feature
/sig cluster-lifecycle

@fabriziopandini
Copy link
Member

fabriziopandini commented Mar 21, 2019

@marccarre fyi yesterday, in the kubeadm office hours was discussed planning for v1.15
There is a batch of changes for the config (including this), and there will be a deep dive hopefully next week. If you want to join the discussion you are more than welcome!

@fabriziopandini
Copy link
Member

fabriziopandini commented Mar 21, 2019

Fyi #1439

@timothysc timothysc added this to the v1.15 milestone Apr 17, 2019
@timothysc timothysc added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API labels Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
Projects
None yet
5 participants