Skip to content

Commit

Permalink
Merge pull request #27 from digitalocean/use-ClusterFirstWithHostNet-…
Browse files Browse the repository at this point in the history
…dnspolicy

Use ClusterFirstWithHostNet DNS policy
  • Loading branch information
timoreimann committed Jul 3, 2024
2 parents 687be3c + eb3e125 commit 47d8297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions k8s/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
clusterlint.digitalocean.com/disabled-checks: "hostpath-volume"
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
spec:
dnsPolicy: ClusterFirstWithHostNet
hostPID: true
hostIPC: true
hostNetwork: true
Expand Down
1 change: 1 addition & 0 deletions k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
clusterlint.digitalocean.com/disabled-checks: "hostpath-volume"
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
spec:
dnsPolicy: ClusterFirstWithHostNet
hostPID: true
hostIPC: true
hostNetwork: true
Expand Down

0 comments on commit 47d8297

Please sign in to comment.