Use kubeadm.k8s.io/v1beta3 instead of v1beta2 for kind config

It appears that kind completely ignores kubeadm.k8s.io/v1beta2 config
starting in Kind v0.12.0.

You can observe the config being ignored or used by adding `-v 10` to
the command-line arguments of `kind create cluster` in kind-up.sh.
This commit is contained in:
Ryan Richard 2022-03-15 09:37:27 -07:00
parent c5dce9cab4
commit 16c4c67af1

View File

@ -26,7 +26,7 @@ nodes:
listenAddress: 127.0.0.1 listenAddress: 127.0.0.1
kubeadmConfigPatches: kubeadmConfigPatches:
- | - |
apiVersion: kubeadm.k8s.io/v1beta2 apiVersion: kubeadm.k8s.io/v1beta3
kind: ClusterConfiguration kind: ClusterConfiguration
apiServer: apiServer:
extraArgs: extraArgs: