<p>On minikube for windows I created a deployment on the kubernetes cluster, then I tried to scale it by changing replicas from 1 to 2, and after that kubectl hangs and my disk usage is 100%.
I only have one container in my deployment</p>
<pre><code>apiVersion: apps/v1
kind: Deployment
metadata:
  name: first-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      run: app
  template:
    metadata:
      labels:
        run: app
    spec:
      containers:
      - name: demo
        image: ner_app
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 5000
</code></pre>
<p>all I did was run this after the pods were successfully deployed and running</p>
<pre><code>kubectl scale --replicas=2 deployment first-deployment
</code></pre>
<p>In another terminal I was watching the pods using</p>
<pre><code>kubectl get pods --watch
</code></pre>
<p>But everything is unresponsive and I'm not sure how to recover from this.</p>
<p>When I run <code>kubectl get pods</code> again it gives the following message</p>
<pre><code>PS D:\docker\ner&gt; kubectl get pods
Unable to connect to the server: net/http: TLS handshake timeout
</code></pre>
<p>Is there a way to recover, or cancel whatever process is running?</p>
<p>Also my VM's are on Hyper-V for Windows 10 Pro (minikube and Docker Desktop) both have the default RAM allocated - 2048MB</p>
<p>The container in my pod is a machine learning process and the model it loads could be large, in the order of 200MB to 300MB</p>

<p>You may have some proxy problems. Try following commands:</p>

<pre><code>$ unset http_proxy
$ unset https_proxy
</code></pre>

<p>and repeat your kubectl call.</p>
