<p>I am using
kubeadm version: &amp;version.Info{Major:&quot;1&quot;, Minor:&quot;20&quot;, GitVersion:&quot;v1.20.2&quot;, GitCommit:&quot;faecb196815e248d3ecfb03c680a4507229c2a56&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2021-01-13T13:25:59Z&quot;, GoVersion:&quot;go1.15.5&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}</p>
<p>I tried to allow PodPreset by adding <em>--runtime-config=settings.k8s.io/v1alpha1=true</em> to <em>kube-apiserver.yaml</em></p>
<p>After added this line, the kube-apiserver produced errors</p>
<p>This is the logs by <code>kubectl logs kube-apiserver-master-0 -n kube-system</code></p>
<p>Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
I0203 01:12:59.519598       1 server.go:632] external host was not specified, using 10.1.0.5
<strong>Error: unknown api groups settings.k8s.io</strong>
<a href="https://i.stack.imgur.com/w9ZWz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w9ZWz.png" alt="enter image description here" /></a></p>

Tkaewkunha
<p>It is removed in v1.20. Please refer <a href="https://kubernetes.io/docs/setup/release/notes/#deprecation" rel="noreferrer">https://kubernetes.io/docs/setup/release/notes/#deprecation</a></p>
