From 7bbd4515ba9ed16e19cfb1e3294fb8fa98ee3cec Mon Sep 17 00:00:00 2001 From: "weizhou.lan@daocloud.io" Date: Thu, 27 Jan 2022 21:55:24 +0800 Subject: [PATCH] prefer node ip for commnunicating with cilium , rather than DNS Signed-off-by: weizhou.lan@daocloud.io 2 Signed-off-by: weizhou.lan@daocloud.io --- USER_GUIDE_KIND.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/USER_GUIDE_KIND.md b/USER_GUIDE_KIND.md index b58e511d..777a4ef6 100644 --- a/USER_GUIDE_KIND.md +++ b/USER_GUIDE_KIND.md @@ -112,11 +112,11 @@ spec: mode: daemonset image: ghcr.io/cilium/hubble-otel/otelcol:v0.1.1 env: - # set NODE_NAME environment variable using downwards API - - name: NODE_NAME + # set NODE_IP environment variable using downwards API + - name: NODE_IP valueFrom: fieldRef: - fieldPath: spec.nodeName + fieldPath: status.hostIP volumes: # this example connect to Hubble socket of Cilium agent # using host port and TLS @@ -152,11 +152,11 @@ spec: grpc: endpoint: 0.0.0.0:55690 hubble: - # NODE_NAME is substituted by the collector at runtime + # NODE_IP is substituted by the collector at runtime # the '\' prefix is required only in order for this config to be # inlined in the guide and make it easy to paste, i.e. to avoid # shell subtituting it - endpoint: \${NODE_NAME}:4244 # unix:///var/run/cilium/hubble.sock + endpoint: \${NODE_IP}:4244 # unix:///var/run/cilium/hubble.sock buffer_size: 100 include_flow_types: # this sets an L7 flow filter, removing this section will