Lab 3.2: pods evicted, and pending after deploying try1
After I create a new deployment: 
the pods never come online, instead, all the pods get evicted, and even the other pods get evicted.
how do I fix this?
Comments
-
this comment was commented in error and should be deleted (dont delete the post, just this comment of the post)
0 -
Hi @nbon,
The described behavior indicates that the second command, the
docker push, in Step 28 may have been missed or it did not get executed when issued the first time (which also happens occasionally).Regards,
-Chris0 -
@chrispokorni I edited the original post sorry, does your comment still apply?
0 -
can you run 'kubernetes get events' ?
0 -
@serewicz said:
Hello,If you don't have enough resources it may evict pods.
Are you running 2CPU/8G nodes?
What does kubectl get node show?Regards,
I'm running two VMs on Windows 10 with HyperV (I couldn't use GCP), they both have 4GB of RAM

I'm not sure how much CPU they have, but my physical laptop has Intel CPU i7-8665U on it.It looks like they're definitely out of "ephemeral-storage"
Here's the Events for the try1 pod:
Here's the amount of RAM and Disk available on nickkube2 (the second node):
0 -
Hi @nbon,
As you may have realized already, my earlier comment was related to the original content of this Discussion thread, and not the current modified issue.
I would recommend keeping Discussions with their original titles and content, in order to keep all helpful solutions and feedback from the Linux Foundation staff relevant to the posted issue. Keeping the Discussion and all comments within the same context not only helps you, but also helps learners who may encounter similar issues in the future and search through the forum for possible solutions. With that in mind, when a new issue is encountered, please open a new Discussion thread, unless it has already been addressed in an earlier Discussion.
Regards,
-Chris0 -
I increased the size of the VMs, but am still seeing pods being evicted when creating the try1 deployment. I changed Assigned RAM to be dynamic.

@chrispokorni , I will do that going forward.
0 -
what is "ephemeral storage" and why was simpleapp using 44ki "which exceeds its request of 0"? How do I request more than 0 ephemeral storage?
0 -
Hi @nbon,
Kubernetes does not seem to like dynamic virtual resource allocation, so I would recommend all resources of your nodes to be assigned, instead of dynamic.
Regards,
-Chris0 -
@chrispokorni I changed to fixed 8GB memory for each node, same issue.
0 -
Ephemeral storage refers to disk space. Is that also dynamic?
0 -
It's fixed now!
I learned that HyperV limits disk to 12GB by default, so I increased it to 64 GB, after increasing it on the master node, it started working.
I also used gparted on the linux VM itself to expand the partition to fill the rest of the disk.
Deployment try1 works now.0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 754 Linux Foundation IT Professional Programs
- 374 Cloud Engineer IT Professional Program
- 170 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 5 DevOps & GitOps IT Professional Program
- 100 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 2 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 5 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 2 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 794 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 89 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 112 Mobile Computing
- 20 Android
- 77 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 393 Off Topic
- 121 Introductions
- 182 Small Talk
- 29 Study Material
- 977 Programming and Development
- 310 Kernel Development
- 649 Software Development
- 990 Software
- 382 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)