Anil:
anybody can explain the below in layman language or point out any source of info which is easy to understand. I always get confuse with below option for ETCD:
–advertise-client-urls=https://192.168.56.2:2379 what is this used for and who use it and how it is get configured?
–listen-client-urls=https://127.0.0.1:2379,https://192.168.56.2:2379 - what is this used for and who use it and how it is get configured?
Tharanath:
–advertise-client-urls : List of this member’s client URLs to advertise to the rest of the cluster. These URLs can contain domain names.
–listen-client-urls: List of URLs to listen on for client traffic. This flag tells the etcd to accept incoming requests from the clients on the specified scheme://IP:port combinations. If 0.0.0.0 is specified as the IP, etcd listens to the given port on all interfaces. If an IP address is given as well as a port, etcd will listen on the given port and interface. Multiple URLs may be used to specify a number of addresses and ports to listen on. The etcd will respond to requests from any of the listed addresses and ports.
Anil:
Thanks @Tharanath in case of ‘–advertise-client-urls : List of this member’s client URLs’ referring to all other cluster components or members such as kube-apiserver, kube-scheduler
In case of --listen-client-urls: who are the clients? you mean remote clients or external clients outside of the cluster.
Can you please confirm the above
Tharanath:
etcd uses 2 communication channels - one for peer communiction with other etcd cluster members and another for client commnunication with users and application.