Closed aborrero closed 2 months ago
No concerning warning would be printed.
the warning is fine. kind passes all the configs to "kubeadm init" separated with --- so kubeadm complains that you should only pass JoinConfiguration to "join" and not "init".
since kubeadm will ignore it with at most a warning we use a combined template for each api version.
it would be a lot messier to avoid this and it doesn't negatively impact running.
This is to report something weird, but to the best of my knowledge did not affect how kind works (so, maybe not a bug?)
What happened:
When running kind create in verbose mode, I discovered a concerning warning:
For the record, the kind config file I'm using looks like this:
In case it helps, this is the resulting kubeadm configmap:
What you expected to happen:
No concerning warning would be printed.
Environment:
kind version
): kind v0.22.0 go1.20.13 linux/amd64docker info
,podman info
ornerdctl info
): Server Version: 20.10.24+dfsg1/etc/os-release
): Debian 12 bookwormkubectl version
): 1.24