This post describes how `etcdctl restore snapshot` works with and without `—data-dir` flag.
ReadStep by step guide on how to connect to a container running in Kubernetes as the root user. This is not a requirement and should not be one for a stable system running on Kubernetes. But, during the Kubernetes cluster development, debugging or adding a new service to an existing cluster can be an absolute lifesaver. The ability to connect to a container running on Kubernetes will make debugging a breeze.
Read