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,580 points
501 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 23, 2020 in Kubernetes by Mathieu V
1,211 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
• 58,990 points
177 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
• 58,990 points
251 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
• 58,990 points
362 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
9,935 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
• 52,310 points

reshown Apr 12, 2019 by Kalgi 3,042 views