Skip to content

Commit 6be7961

Browse files
Update customize-hosts-file-for-pods.md
1 parent eead210 commit 6be7961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/tasks/network/customize-hosts-file-for-pods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ min-kubernetes-server-version: 1.7
1313

1414
Adding entries to a Pod's `/etc/hosts` file provides Pod-level override of hostname resolution when DNS and other options are not applicable. You can add these custom entries with the HostAliases field in PodSpec.
1515

16-
Modification not using HostAliases is not suggested because the file is managed by the kubelet and can be overwritten on during Pod creation/restart.
17-
16+
Modification using the HostAliases field in the PodSpec is recommended because changes
17+
made in other ways may be overwritten by the kubelet during Pod creation or restart.
1818

1919
<!-- steps -->
2020

0 commit comments

Comments
 (0)