I guess your mental model of Kubernetes needs to change a bit. Probably you are thinking about Kubernetes like Apache/Tomcat server that can be restarted from command-line by logging into a server. And naturally so you are worried that the resources that are running on it - Pods, Secrets, ConfigMaps - etc would be gone when it is restarted.
Well, that is not how you want to think about Kubernetes.
Kubernetes cluster is actually be a long running control plane which you as a user of it won’t be required to restart. Think of it similar to cloud services from GCP, AWS, Azure, etc. These services are accessible over HTTP and users only access them through the API.
As part of the control plane of Kubernetes there is a etcd key-value store. Any resource like Pod, Secret, etc. that is deployed on Kubernetes is saved to it. When you delete a Pod its state will be removed from etcd. But if you create a Pod and someone from other country/continent has access the same cluster, they will be able to see your Pod (after having the right permissions).
Does that provide good clarification?