collabnix / kubelabs

Get Started with Kubernetes
https://kubelabs.collabnix.com
Apache License 2.0
2.79k stars 955 forks source link

Labs Play with K8s - out of space #194

Open ingerul91 opened 3 months ago

ingerul91 commented 3 months ago

Hello everyone.

We have the following issue when using the virtual environment provided on https://labs.play-with-k8s.com/

-> Click on Start -> On the new session I've added a new instance by selecting Add New Instance -> and if we want to go with the setup for https://github.com/collabnix/kubelabs/blob/master/kube101.md - by cloning the repository - git clone https://github.com/collabnix/kubelabs we get the following error below.


[node1 ~]$ df -h Filesystem Size Used Avail Use% Mounted on overlay 10G 68K 10G 1% / tmpfs 64M 0 64M 0% /dev tmpfs 16G 0 16G 0% /sys/fs/cgroup > /dev/sdb 64G 64G 20K 100% /etc/hosts shm 64M 0 64M 0% /dev/shm

[node1 ~]$ git clone https://github.com/collabnix/kubelabs Cloning into 'kubelabs'... error: copy-fd: write returned No space left on device fatal: cannot copy '/usr/share/git-core/templates/description' to '/root/kubelabs/.git/description': No space left on device


Also yesterday and the day before I was able to clone the repo and wanted to start the bootstrap.sh but again I ran over the space issue. Is there a way to correct this?

I've also attached screenshots. session_01 session_02

If this is not the right place to raise this issue please tell me and I will open it accordingly.

Thank you.

Best Regards, Ozzy

ingerul91 commented 3 months ago

@ajeetraina Hello. Do you know how to fix the above?

Thank you. BR, Ozzy

ajeetraina commented 3 months ago

@ingerul91 It looks like there were a few changes made to those instances to restrict it from consuming CPU and memory. We might need to suggest users to use their own Kubernetes cluster rather than sticking to PWK platform.

ajeetraina commented 3 months ago

The other way I was thinking to pushing our users to Killercoda.

ingerul91 commented 3 months ago

Thank you for your suggestion. I was not aware of Killercoda. Yes it would be good if we had the 2 suggestion you made put onto the main page so that at least any person knows that the old environments are no longer to be used.