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 in Kubernetes by anonymous
• 9,300 points
204 views

2 answers to this question.

0 votes
Kubernetes cluster
answered 5 days ago 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 3 days ago by RR

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer

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

Make sure your imagePullPolicy is set to ...READ MORE

answered Jul 12, 2019 in Kubernetes by Sirajul
• 48,530 points
97 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
• 48,530 points
112 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
• 48,530 points
75 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
• 48,530 points
62 views
0 votes
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
4,734 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 51,810 points

reshown Apr 12, 2019 by Kalgi 1,296 views