This commit is contained in:
2025-08-25 20:18:58 +02:00
parent 891b723d1a
commit bdc1134dbb

View File

@@ -26,8 +26,8 @@ spec:
- /usr/local/bin/etcd
- --name=etcd0
- --data-dir=/var/lib/etcd
- --advertise-client-urls=http://0.0.0.0:2379
- --listen-client-urls=http://0.0.0.0:2379
- --listen-client-urls=http://0.0.0.0:2379,http://[::]:2379
- --advertise-client-urls=http://[::]:2379,http://0.0.0.0:2379
ports:
- { name: client, containerPort: 2379, protocol: TCP }
volumeMounts:
@@ -37,16 +37,6 @@ spec:
persistentVolumeClaim: { claimName: etcd-data }
---
apiVersion: v1
kind: Service
metadata:
name: etcd
namespace: dns
spec:
selector: { app: etcd }
ports:
- { name: client, port: 2379, targetPort: 2379 }
---
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns-corefile