How to recover pods data if you lose them

0 votes
I was asked this question in an interview. Can somebody help me with the answer for this? Thanks in advance!
Feb 9, 2020 in Kubernetes by anonymous
• 19,610 points
3,031 views

2 answers to this question.

0 votes
Kubernetes cluster
answered Feb 12, 2020 by KRISHNA PRAKASH KUMAR
Hey Krishna Prakash Kumar,

I was looking for the same answer, but can you please explain how the Kubernetes cluster is helpful in this case?
+1 vote
POD does t maintain state and when you spin the pod it will lose the data and if you want to save any data that you need like logs or any files etc.. you will have to use the persistent storage.
answered Feb 15, 2020 by RR

Related Questions In Kubernetes

0 votes
1 answer
0 votes
2 answers

How do I update all my pods if the image is changed but the tag is the same?

since K8s 1.15 kubectl rollout restart do the ...READ MORE

answered Jul 24, 2020 in Kubernetes by Mathieu V
7,201 views
0 votes
1 answer

how can we prioritize pods and preempt them?

A PriorityClass is a non-namespaced object that ...READ MORE

answered Jul 15, 2019 in Kubernetes by Sirajul
• 59,230 points
700 views
0 votes
1 answer
0 votes
1 answer

How do i tie a service to a pod or a set of pods?

By declaring pods with the label(s) and ...READ MORE

answered Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
1,765 views
0 votes
2 answers

How do I update all my pods if the image changed but the tag is the same? - Kubernetes

Make sure your imagePullPolicy is set to Always(this is the ...READ MORE

answered Aug 6, 2019 in Kubernetes by Sirajul
• 59,230 points
3,489 views
+1 vote
1 answer
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
15,477 views
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,350 points
1,396 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP