Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 930 Bytes

deploy-envoy-daemonset.md

File metadata and controls

21 lines (14 loc) · 930 Bytes

Deploy The Envoy DaemonSet

Envoy will be deployed to each cluster node using a DaemonSet.

Deploy Envoy to each node

kubectl create configmap envoy \
  --namespace kube-system \
  --from-file envoy.json 

Envoy will be deployed to each host using a DaemonSet. Envoy will be configured to listen on the host network of each node. Envoy will also be configured to use the Kubernetes cluster DNS service which will make it easy to locate the kubernetes-envoy-sds service.

kubectl apply -f daemonsets/envoy.yaml

To ensure Envoy has access to the cluster DNS service, while running in the host network namespace, the dnsPolicy of Envoy DaemonSet is set to ClusterFirstWithHostNet.

At this point each Pod can reach the Envoy proxy using the host IP address of the node.