Update add-entries-to-pod-etc-hosts-with-host-aliases.md ()

modify the first letter of sentence to be in uppercase
pull/5066/merge
Anthony 2017-08-23 07:37:06 +08:00 committed by Steve Perry
parent 07bb1d2aec
commit c6450cb087
1 changed files with 1 additions and 1 deletions
docs/concepts/services-networking

View File

@ -67,6 +67,6 @@ As of 1.7, Pods with hostNetwork enabled will not be able to use this feature. T
## Why Does Kubelet Manage the Hosts File?
kubelet [manages](https://github.com/kubernetes/kubernetes/issues/14633) the hosts file for each container of the Pod to prevent Docker from [modifying](https://github.com/moby/moby/issues/17190) the file after the containers have already been started.
Kubelet [manages](https://github.com/kubernetes/kubernetes/issues/14633) the hosts file for each container of the Pod to prevent Docker from [modifying](https://github.com/moby/moby/issues/17190) the file after the containers have already been started.
Because of the managed-nature of the file, any user-written content will be overwritten whenever the hosts file is remounted by Kubelet in the event of a container restart or a Pod reschedule. Thus, it is not suggested to modify the contents of the file.