Merge pull request #33818 from Arhell/update-fr
[fr] updated configure-liveness-readiness-startup-probes.md
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ Le champ `periodSeconds` spécifie que le Kubelet doit effectuer un check de liv
|
|||||||
Au démarrage, le conteneur exécute cette commande :
|
Au démarrage, le conteneur exécute cette commande :
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600"
|
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600"
|
||||||
```
|
```
|
||||||
|
|
||||||
Pour les 30 premières secondes de la vie du conteneur, il y a un fichier `/tmp/healthy`.
|
Pour les 30 premières secondes de la vie du conteneur, il y a un fichier `/tmp/healthy`.
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600
|
- touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
|
|||||||
Reference in New Issue
Block a user