<p>Below is kubernetes POD definition</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: static-web
  labels:
    role: myrole
spec:
  containers:
    - name: web
      image: nginx
      ports:
        - name: web
          containerPort: 80
          protocol: TCP
</code></pre>
<p>as I have not specified the resources, how much Memory &amp; CPU will be allocated? Is there a kubectl to find what is allocated for the POD?</p>

One Developer
<p>If resources are not specified for the Pod, the Pod will be scheduled to any node and resources are not considered when choosing a node.</p>
<p>The Pod might be &quot;terminated&quot; if it uses more memory than available or get little CPU time as Pods with specified resources will be prioritized. It is a good practice to set resources for your Pods.</p>
<p>See <a href="https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/" rel="nofollow noreferrer">Configure Quality of Service for Pods</a> - your Pod will be classified as &quot;Best Effort&quot;:</p>
<blockquote>
<p>For a Pod to be given a QoS class of BestEffort, the Containers in the Pod must not have any memory or CPU limits or requests.</p>
</blockquote>
