Support DNS SRV for external etcd endpoints discovery #1933
Labels
area/etcd
kind/feature
Categorizes issue or PR as related to a new feature.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
Milestone
Is this a request for help?
no
What keywords did you search in kubeadm issues before filing this one?
external etcd, DNS SRV
Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
Versions
kubeadm version (use
kubeadm version
): 1.16.3Environment:
kubectl version
): 1.16.3What happened?
Currently, we can configure external etcd endpoints in
kubeadm-config.yaml
like thisIt needs me to provide all endpoints of external etcd cluster nodes, which lacks a mechanism of "auto discovery".
What you expected to happen?
Inspired by etcd cluster DNS discovery, etcd cluster nodes support DNS SRV lookup via etcd argument
--discovery-srv etcd.example.com
to discover other nodes, I suggest that kubeadm can use a similar way to discover external etcd endpoints.For example:
Anything else we need to know?
Their implementation for this feature: etcd-io/etcd#8281
The text was updated successfully, but these errors were encountered: