[PATCH] Import FTP Readiness & Liveness probe correctly configured
This commit is contained in:
parent
6efa50e86b
commit
7eaa13113e
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ env:
|
||||||
image: garethflowers/ftp-server
|
image: garethflowers/ftp-server
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
exec: { command: ["echo"] }
|
exec: { command: ["/bin/sh", "-c", "netstat -a | grep -q ftp"] }
|
||||||
failureThreshold: 20
|
failureThreshold: 20
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
@ -15,7 +15,7 @@ livenessProbe:
|
||||||
name: changeme-name-ftp
|
name: changeme-name-ftp
|
||||||
ports: [] # Programatically add all the ports for easier readability, Ports include: 20,21,40000-400009
|
ports: [] # Programatically add all the ports for easier readability, Ports include: 20,21,40000-400009
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
exec: { command: ["echo"] }
|
exec: { command: ["/bin/sh", "-c", "netstat -a | grep -q ftp"] }
|
||||||
failureThreshold: 20
|
failureThreshold: 20
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue