Skip to content

Commit

Permalink
Use DNSPolicy ClusterFirstWithHostNet for HostPort mode. (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Dec 13, 2017
1 parent 2d74eed commit 9d5f1e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ingress/hostport.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ func (c *hostPortController) newPods() *apps.Deployment {
},
Volumes: Volumes(secrets),
HostNetwork: true,
DNSPolicy: apiv1.DNSClusterFirstWithHostNet,
},
},
},
Expand Down

0 comments on commit 9d5f1e7

Please sign in to comment.