<p>For helm command: <code>helm create &lt;chart name&gt;</code> there are several different templates, that are auto-generated.</p>
<p>i.e Deployment.yaml is a template of kind: Deployment.</p>
<p>When I run the command: <code>kubectl api-resources</code>, I found that there are many template resources.</p>
<p>I need to auto generate a resource (or get it from a hub template), i.e of kind: Pod, which is in the list of <code>kubectl api-resources</code> command.</p>
<p>How can I get that predefined template, such ad Pod template easily (the full yaml script for the template).</p>
<p>Thanks.</p>

Eitan
<p><code>helm create</code> outputs a fairly fixed structure.  There is not an arbitrary resource generator, but rather a &quot;usually works&quot; template for a typical single-Deployment application.  (See <a href="https://github.com/helm/helm/blob/main/pkg/chartutil/create.go" rel="nofollow noreferrer"><code>pkg/chartutil/create.go</code></a> in the Helm source.)</p>
<p>If you want to add new templates, you need to use a text editor to create a new template file in the chart's <code>templates</code> directory.  I'd recommend following the pattern in the existing templates for objects' <code>metadata:</code>, and maybe even starting by copying the existing generated <code>deployment.yaml</code>.  Looking in the <a href="https://kubernetes.io/docs/home/" rel="nofollow noreferrer">Kubernetes documentation</a> and especially the <a href="https://kubernetes.io/docs/reference/kubernetes-api/" rel="nofollow noreferrer">API reference</a> can help you find the fields for objects that are part of the standard Kubernetes system.</p>
<p>You usually do not want to create a bare Pod, but instead a Deployment or occasionally a StatefulSet.  If you need to add a second Deployment to your application, copy the existing generated <code>deployment.yaml</code> file and edit the fields as needed.</p>
