Skip to content

Commit

Permalink
update on state of HostAlias in 1.8 with hostNetwork Pod support
Browse files Browse the repository at this point in the history
  • Loading branch information
evie404 committed Sep 26, 2017
1 parent 4ec33fd commit a223132
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ With the additional entries specified at the bottom.

## Limitations

As of 1.7, Pods with hostNetwork enabled will not be able to use this feature. This is because kubelet only manages the hosts file for non-hostNetwork Pods. There are ongoing discussions to change this.
HostAlias is only supported in 1.7+.

HostAlias support in 1.7 is limited to non-hostNetwork Pods because kubelet only manages the hosts file for non-hostNetwork Pods.

In 1.8, HostAlias is supported for all Pods regardless of network configuration.

## Why Does Kubelet Manage the Hosts File?

Expand Down

0 comments on commit a223132

Please sign in to comment.