Kubernetes nodes crashing due to DiskPressure

0 votes

I don't know what DiskPressure means in kubernetes and how to avoid it. I'm using gcp to deploy the cluster. Mostly all of my new nodes crash because of high disk pressure.

Oct 27, 2018 in Kubernetes by DragonLord999
• 8,450 points

1 answer to this question.

0 votes

From the ll find that DiskPressure raises when:

According to the official kubernetes docs:

Available disk space and inodes on either the node’s root filesytem or image filesystem has satisfied an eviction threshold

You should have the knowledge about how much space/inodes etc left in your system before deploying new nodes. you can do this by some basic resource monitoring(Resource Usage Monitoring). Now if you have prior knowledge of such resources you should adjust the --low-diskspace-threshold-mb, --image-gc-high-threshold and --image-gc-low-threshold parameters of you kubelet accordingly. This way there's always space for your day to day operations or you can consider adding more space for your nodes.

answered Oct 27, 2018 by DareDev
• 6,890 points

Related Questions In Kubernetes

0 votes
1 answer

unable to start Kubernetes due to so many open files in system

You can try the following steps: You can ...READ MORE

answered May 1, 2018 in Kubernetes by shubham
• 7,320 points
–1 vote
1 answer

order to apply kubernetes-dashboard ? before I join the worker nodes or after the join of the worker node ?

Not really. There are a few things ...READ MORE

answered Mar 18, 2019 in Kubernetes by Vardhan
• 13,190 points
+5 votes
2 answers

Redirecting host to service path in kubernetes

What you are trying to do is ...READ MORE

answered Mar 27, 2018 in Kubernetes by DragonLord999
• 8,450 points
0 votes
1 answer

How to use gravitational teleport in a container/kubernetes environment?

You can use teleport to augment kubernetes ...READ MORE

answered Jun 28, 2018 in Kubernetes by ajs3033
• 7,280 points
+1 vote
1 answer
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,370 points
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
0 votes
1 answer

How do I sign-in to kubernetes dashboard?

Since version 1.7 Dashboard uses more secure ...READ MORE

answered Sep 7, 2018 in Kubernetes by DareDev
• 6,890 points
0 votes
1 answer

Kubernetes:Unable to mount volumes with cloud-provider

Kuberenetes 1.5.0 and 1.5.3 does support cinder. ...READ MORE

answered Nov 30, 2018 in Kubernetes by DareDev
• 6,890 points