-
Notifications
You must be signed in to change notification settings - Fork 716
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
Improve kubeadm join preflight #1128
Comments
I can have a look at it @fabriziopandini. I'm not familiar with IPVS though. |
/lifecycle active |
@fabriziopandini Here's an approach: kubernetes/kubernetes#69662; in particular I don't know if |
With this approach I'm hitting: |
I think I have to change the approach, it's not possible to assume that we can download the |
I created the first node with an older version of
My patch is on top of |
This looks suspicious. Do you want to use pre-created certificates or those are just leftovers from your previous installation?
It looks like --ignore-preflight-errors=all becomes common way to run kubeadm, which is quite dangerous sign from my point of view. May I ask what was the reason of using this option? |
@bart0sh I ran this on a VM based cluster just to test my PR. It was a re-run of the |
@ereslibre do you have client certificates in /etc/kubernetes/pki? If you do, can you look which CN is in those certificates? I suspect that system:bootstrap:mga0vo comes from there. If using pre-created certs is not important for you you can remove them. This could help to join the cluster. |
@bart0sh Thanks for your help. I already destroyed the cluster and I won't be able to retry for some hours. I'll get back to this later today. |
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=... How can I fix this issue? |
I'm also trying to understand the same issue.
You can find a working example here, that works for me on v1.14.3. |
Currently kubeadm join preflight checks are executed without considering the
ClusterConfiguration
, and the IPVS check is always executed, no matter if the cluster uses IPVS or not.Kubeadm join preflight checks should be improved by considering the
ClusterConfiguration
in place.The text was updated successfully, but these errors were encountered: