I created a deployment yaml file then applied it. I executed:
‘kubectl exec -it POD bin/bash’
Inside the container, I did apt install for manythings. Now if I applied the deployment again, I will loose all the changes that I did on the pod. How can I reflect the changes that I did on the pod to the deployment? And if I deleted a pod, how would a new one would be created with the same previous pod?