dn
This commit is contained in:
14
dns/dns.yaml
14
dns/dns.yaml
@@ -49,20 +49,6 @@ spec:
|
||||
- --advertise-client-urls=http://etcd.dns.svc:2379
|
||||
ports:
|
||||
- { name: client, containerPort: 2379, protocol: TCP }
|
||||
# probes use loopback to avoid IPv6 node->pod path
|
||||
startupProbe:
|
||||
exec:
|
||||
command: ["/bin/sh","-c","curl -s --max-time 1 http://[::1]:2379/health | grep -q true"]
|
||||
failureThreshold: 30
|
||||
periodSeconds: 2
|
||||
readinessProbe:
|
||||
exec:
|
||||
command: ["/bin/sh","-c","curl -s --max-time 1 http://[::1]:2379/health | grep -q true"]
|
||||
periodSeconds: 3
|
||||
livenessProbe:
|
||||
exec:
|
||||
command: ["/bin/sh","-c","curl -s --max-time 1 http://[::1]:2379/health | grep -q true"]
|
||||
periodSeconds: 10
|
||||
volumeMounts:
|
||||
- { name: data, mountPath: /var/lib/etcd }
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user