<p>Is it somehow possible to force the scheduler to ignore the available resources on a node/cluster while scheduling new pods?
We we would like to "overload" our cluster in our lab environment for testing purposes. I could not find anything about it in the docs. Thanks!</p>

patrickkeller
<p>There are bunch of <a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/" rel="nofollow noreferrer">feature flags</a> which you can possibly tweak to achieve it but I would say why not use <code>nodeName</code> in the pod spec and effectively bypass the scheduler.</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - name: nginx
    image: nginx
  nodeName: kube-01
</code></pre>

<p>The above pod will run on the node <code>kube-01</code></p>
