<p>I am trying to follow this tutorial to learn to use <a href="https://kind.sigs.k8s.io/" rel="nofollow noreferrer">kind</a>. The version I just installed using brew install is:
kind version 0.11.1</p>
<p>The config file looks like this:</p>
<pre class="lang-yaml prettyprint-override"><code>kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
nodes:
- role: control-plane
  extraPortMappings:
  - containerPort: 30080
    hostPort: 80
    listenAddress: &quot;0.0.0.0&quot;
    protocol: TCP
</code></pre>
<p>Apparently that version is wrong because I get an error <code>ERROR: failed to create cluster: unknown apiVersion: kind.sigs.k8s.io/v1alpha3</code> when I try to create the cluster: <code>$ kind create cluster --name mycluster --config config/kind.config.yaml --wait 5m</code>.</p>
<p>I found an example of some other version string, but when trying to add the <code>spec</code> block in that same tutorial I get a configuration error. I assume this means because the API broke between the version and the yaml I am using.</p>
<p>Why do I get the original &quot;failed to create cluster&quot; error, and where can I find documentation associating kind versions with yaml syntax?</p>

<p>The version needs to be set to <code>apiVersion: kind.x-k8s.io/v1alpha4</code></p>
<p>Notice the change from <code>kind.sigs.k8s.io</code> to <code>kind.x-k8s.io</code> in addition to changing to <code>v1alpha4</code>.</p>
