Skip to content

Commit

Permalink
core(docs): add info about using host network for DaemonSet (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
programmer04 committed Oct 30, 2023
1 parent 02680ae commit 4736b0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/kong/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,11 @@ namespaces. Limiting access requires several changes to configuration:
Setting `deployment.daemonset: true` deploys Kong using a [DaemonSet
controller](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/)
instead of a Deployment controller. This runs a Kong Pod on every kubelet in
the Kubernetes cluster.
the Kubernetes cluster. For such configuration it may be desirable to configure
Pods to use the network of the host they run on instead of a dedicated network
namespace. The benefit of this approach is that the Kong can bind ports directly
to Kubernetes nodes' network interfaces, without the extra network translation
imposed by NodePort Services. It can be achieved by setting `deployment.hostNetwork: true`.

### Using dnsPolicy and dnsConfig

Expand Down

0 comments on commit 4736b0d

Please sign in to comment.