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
• 10,080 points
318 views

2 answers to this question.

0 votes
Kubernetes cluster
answered Feb 12 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 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
• 52,850 points
239 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
• 52,850 points
122 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
• 52,850 points
95 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
• 52,850 points
107 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
6,513 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,850 points

reshown Apr 12, 2019 by Kalgi 1,938 views