到目前为止,我发现的唯一解决方案是使用--config-yaml
,类似的东西
envoy -c /etc/service-envoy.yaml \
--config-yaml "'static_resources': {
'clusters': [
{
'name': 'jaeger',
'connect_timeout': '1s',
'type': 'strict_dns',
'lb_policy': 'round_robin',
'hosts': [
{
'socket_address': {
'address': '$JAEGER_HOST',
'port_value': 9411
}
}
]
}
]
}"