In etcd v2 you could run in proxy mode, which on the command line would be something like:
% etcd --proxy onas described in the v2 documentation here:
https://coreos.com/etcd/docs/latest/v2/proxy.htmlAlthough undocumented, I found an example in the distributed /etc/etcd/etcd.conf file to turn that on automatically on startup (systemd):
[proxy]
ETCD_PROXY="on"
#ETCD_PROXY_FAILURE_WAIT="5000"
#ETCD_PROXY_REFRESH_INTERVAL="30000"
#ETCD_PROXY_DIAL_TIMEOUT="1000"
#ETCD_PROXY_WRITE_TIMEOUT="5000"
#ETCD_PROXY_READ_TIMEOUT="0"
In etcd v3, this has been replaced by either gateway or grpc-proxy, running something like this:
% etcd gateway start
% etcd grpc-proxy startas described in the v3 documentation here:
https://github.com/coreos/etcd/blob/master/Documentation/op-guide/gateway.mdhttps://github.com/coreos/etcd/blob/master/Documentation/op-guide/grpc_proxy.mdDoes anyone know whether either or both of these options have a method of being placed in the config file for systemd startup? Or will I have to create something like a custom etcd service file as a systemd dropin instead?
Pointers to existing documentation or examples gladly accepted. I've tried searching but have been unsuccessful so far.
Thanks!