<p>Dear members of stackoverflow,</p>

<p>It is possible to configure the maximum number of pods per node in the yaml configuration file of a kubernetes deployment? For example something as</p>

<pre><code>---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
  name: cdn-akamai-pipe
spec:
  template:
    metadata:
      labels:
        app: cdn-akamai-pipe
    max-pods-per-node: 10 
</code></pre>

<p>Thanks</p>

Juan
<p>This is a kubelet setting that can be set using the <code>--max-pods</code> flag, <a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/#kubelet" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/#kubelet</a> as such there is no way to set this using yaml configuration. If you are using a managed service this can generally be set during cluster creation</p>
