dn
This commit is contained in:
14
dns/dns.yaml
14
dns/dns.yaml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user