[bitnami/pytorch] Pytorch probes improvement (#24566)

* [bitnami/pytorch] Improves test used for probes

Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>

* Increase timeout

Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Rafael Ríos Saavedra
2024-03-20 17:06:38 +01:00
committed by GitHub
parent d75b996c3a
commit b154df34b8
6 changed files with 14 additions and 13 deletions

View File

@@ -11,6 +11,7 @@ command:
run-git-example:
exec: python ./pytorch/goss/testfiles/polynomial_tensor.py
exit-status: 0
timeout: 20000
{{- $uid := .Vars.containerSecurityContext.runAsUser }}
{{- $gid := .Vars.podSecurityContext.fsGroup }}
check-user-info:

View File

@@ -33,4 +33,4 @@ maintainers:
name: pytorch
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/pytorch
version: 4.0.0
version: 4.0.1

View File

@@ -141,19 +141,19 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
| `livenessProbe.enabled` | Enable livenessProbe | `true` |
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `5` |
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `5` |
| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `5` |
| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `20` |
| `livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `5` |
| `livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` |
| `readinessProbe.enabled` | Enable readinessProbe | `true` |
| `readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `5` |
| `readinessProbe.periodSeconds` | Period seconds for readinessProbe | `5` |
| `readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `3` |
| `readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `20` |
| `readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `5` |
| `readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` |
| `startupProbe.enabled` | Enable startupProbe | `true` |
| `startupProbe.initialDelaySeconds` | Initial delay seconds for startupProbe | `5` |
| `startupProbe.periodSeconds` | Period seconds for startupProbe | `5` |
| `startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `3` |
| `startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `20` |
| `startupProbe.failureThreshold` | Failure threshold for startupProbe | `5` |
| `startupProbe.successThreshold` | Success threshold for startupProbe | `1` |
| `customLivenessProbe` | Custom livenessProbe that overrides the default one | `{}` |

View File

@@ -169,7 +169,7 @@ spec:
command:
- python
- -c
- import torch; torch.__version__
- import torch; print(torch.__version__)
{{- end }}
{{- if .Values.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }}
@@ -179,7 +179,7 @@ spec:
command:
- python
- -c
- import torch; torch.__version__
- import torch; print(torch.__version__)
{{- end }}
{{- if .Values.customStartupProbe }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 12 }}
@@ -189,7 +189,7 @@ spec:
command:
- python
- -c
- import torch; torch.__version__
- import torch; print(torch.__version__)
{{- end }}
{{- end }}
{{- if .Values.lifecycleHooks }}

View File

@@ -177,7 +177,7 @@ spec:
command:
- python
- -c
- import torch; torch.__version__
- import torch; print(torch.__version__)
{{- end }}
{{- if .Values.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }}
@@ -187,7 +187,7 @@ spec:
command:
- python
- -c
- import torch; torch.__version__
- import torch; print(torch.__version__)
{{- end }}
{{- if .Values.customStartupProbe }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 12 }}
@@ -197,7 +197,7 @@ spec:
command:
- python
- -c
- import torch; torch.__version__
- import torch; print(torch.__version__)
{{- end }}
{{- end }}
{{- if .Values.lifecycleHooks }}

View File

@@ -117,7 +117,7 @@ livenessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
timeoutSeconds: 20
successThreshold: 1
failureThreshold: 5
## Configure extra options for readiness probe
@@ -133,7 +133,7 @@ readinessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
timeoutSeconds: 20
successThreshold: 1
failureThreshold: 5
## Configure extra options for startup probe
@@ -149,7 +149,7 @@ startupProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
timeoutSeconds: 20
successThreshold: 1
failureThreshold: 5
## @param customLivenessProbe Custom livenessProbe that overrides the default one