dn
This commit is contained in:
18
dns/dns.yaml
18
dns/dns.yaml
@@ -8,6 +8,24 @@ spec:
|
|||||||
resources: { requests: { storage: 1Gi } }
|
resources: { requests: { storage: 1Gi } }
|
||||||
storageClassName: cephfs-hyper
|
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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user