This commit is contained in:
2025-08-25 21:21:23 +02:00
parent 70ea862759
commit a1700310b0

View File

@@ -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: