This commit is contained in:
2025-08-25 20:50:42 +02:00
parent 48030ce657
commit 9057aa40b6
2 changed files with 12 additions and 11 deletions

View File

@@ -15,9 +15,10 @@ metadata:
namespace: dns
spec:
selector: { app: etcd }
ipFamilyPolicy: PreferDualStack
#ipFamilyPolicy: PreferDualStack
ipFamilyPolicy: SingleStack
ipFamilies:
- IPv6
#- IPv6
- IPv4
ports:
- name: client
@@ -39,13 +40,13 @@ spec:
spec:
containers:
- name: etcd
image: quay.io/coreos/etcd:v3.5.13
image: quay.io/coreos/etcd
command:
- /usr/local/bin/etcd
- --name=etcd0
- --data-dir=/var/lib/etcd
- --listen-client-urls=http://[::]:2379,http://0.0.0.0:2379
- --advertise-client-urls=http://[::]:2379,http://0.0.0.0:2379
- --listen-client-urls=http://0.0.0.0:2379
- --advertise-client-urls=http://0.0.0.0:2379
ports:
- { name: client, containerPort: 2379, protocol: TCP }
volumeMounts:

View File

@@ -49,13 +49,13 @@ spec:
- --source=ingress
- --provider=coredns
- --domain-filter=apps.undercloud.dev
- --policy=sync
- --registry=txt
#- --policy=sync
#- --registry=txt
- --managed-record-types=CNAME,TXT,AAAA
- --txt-owner-id=k8s-undercloud
#- --txt-owner-id=k8s-undercloud
- --log-level=debug
#env:
# - name: ETCD_URLS
# value: "http://etcd.dns.svc:2379"
env:
- name: ETCD_URLS
value: "http://etcd.dns.svc:2379"