Slide 32
Slide 32 text
Our trial
Configure Envoy
Add static resource
The procedure about creating configuration from template is written in
the file istio.io/istio/pkg/bootstrap/bootstrap_config.go whose name is
WriteBootstrap
Copyright 2019 FUJITSU LIMITED
// WriteBootstrap generates an envoy config based on config and epoch, and returns the filename.
// TODO: in v2 some of the LDS ports (port, http_port) should be configured in the bootstrap.
func WriteBootstrap(config *meshconfig.ProxyConfig, node string, epoch int,
pilotSAN []string, opts map[string]interface{}, localEnv []string,
nodeIPs []string, dnsRefreshRate string) (string, error){
Add a little change to this function to enable pilot-agent recognize
HOST_IP
31