<p>I've a EKS setup (v1.16) with 2 ASG: one for compute (&quot;c5.9xlarge&quot;) and the other gpu (&quot;p3.2xlarge&quot;).
Both are configured as Spot and set with desiredCapacity 0.</p>
<p>K8S CA works as expected and scale out each ASG when necessary, the issue is that the newly created gpu instance is not recognized by the master and running <code>kubectl get nodes</code> emits nothing.
I can see that the ec2 instance was in Running state and also I could ssh the machine.</p>
<p>I double checked the the labels and tags and compared them to the &quot;compute&quot;.
Both are configured almost similarly, the only difference is that the gpu nodegroup has few additional tags.</p>
<p>Since I'm using eksctl tool (v.0.35.0) and the compute nodeGroup vs. gpu nodeGroup is basically copy&amp;paste, I can't figured out what could be the problem.</p>
<p>UPDATE:
ssh the instance I could see the following error (/var/log/messages)</p>
<pre><code>failed to run Kubelet: misconfiguration: kubelet cgroup driver: &quot;systemd&quot; is different from docker cgroup driver: &quot;cgroupfs&quot;
</code></pre>
<p>and the kubelet service crashed.</p>
<p>would it possible the my GPU uses wrong AMI (amazon-eks-gpu-node-1.18-v20201211)?</p>

Cowabunga
<p>As a simple you can use this preBootstrapCommands in eksctl yaml config file:</p>
<pre><code>- name: test-node-group
  preBootstrapCommands: 
   - &quot;sed -i 's/cgroupDriver:.*/cgroupDriver: cgroupfs/' /etc/eksctl/kubelet.yaml&quot;
</code></pre>
