diff --git a/dns/dns.yaml b/dns/dns.yaml index 6783c17..cbd7b4a 100644 --- a/dns/dns.yaml +++ b/dns/dns.yaml @@ -8,6 +8,24 @@ spec: resources: { requests: { storage: 1Gi } } storageClassName: cephfs-hyper --- +apiVersion: v1 +kind: Service +metadata: + name: etcd + namespace: dns +spec: + selector: { app: etcd } + ipFamilyPolicy: PreferDualStack + ipFamilies: + - IPv6 + - IPv4 + ports: + - name: client + port: 2379 + targetPort: 2379 + protocol: TCP + +--- apiVersion: apps/v1 kind: Deployment metadata: