fix(ocrserver): adjust probe to status

This commit is contained in:
WrenIX 2025-02-21 22:58:01 +01:00
parent ecfcb069a3
commit 16d0e48121
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: ocrserver name: ocrserver
description: Run OCR-Server description: Run OCR-Server
type: application type: application
version: "0.0.1" version: "0.0.2"
# renovate: image=otiai10/ocrserver # renovate: image=otiai10/ocrserver
appVersion: "1.1.0" appVersion: "1.1.0"
maintainers: maintainers:

View file

@ -7,7 +7,7 @@ description: "Run OCR-Server"
# ocrserver # ocrserver
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square) ![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)
Run OCR-Server Run OCR-Server
@ -52,7 +52,7 @@ helm uninstall ocrserver-release
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. | | image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. |
| image.registry | string | `"docker.io"` | | | image.registry | string | `"docker.io"` | |
| image.repository | string | `"otiai10/ocrserver"` | | | image.repository | string | `"otiai10/ocrserver"` | |
| image.tag | string | `"v1.1"` | | | image.tag | string | `"latest"` | |
| imagePullSecrets | list | `[]` | This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ | | imagePullSecrets | list | `[]` | This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ |
| ingress.annotations | object | `{}` | | | ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | | | ingress.className | string | `""` | |
@ -61,14 +61,14 @@ helm uninstall ocrserver-release
| ingress.hosts[0].paths[0].path | string | `"/"` | | | ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | | ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | | | ingress.tls | list | `[]` | |
| livenessProbe.httpGet.path | string | `"/"` | | | livenessProbe.httpGet.path | string | `"/status"` | |
| livenessProbe.httpGet.port | string | `"http"` | | | livenessProbe.httpGet.port | string | `"http"` | |
| nameOverride | string | `""` | This is to override the chart name. | | nameOverride | string | `""` | This is to override the chart name. |
| nodeSelector | object | `{}` | | | nodeSelector | object | `{}` | |
| podAnnotations | object | `{}` | This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ | | podAnnotations | object | `{}` | This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| podLabels | object | `{}` | This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | | podLabels | object | `{}` | This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| podSecurityContext | object | `{}` | | | podSecurityContext | object | `{}` | |
| readinessProbe.httpGet.path | string | `"/"` | | | readinessProbe.httpGet.path | string | `"/status"` | |
| readinessProbe.httpGet.port | string | `"http"` | | | readinessProbe.httpGet.port | string | `"http"` | |
| replicaCount | int | `1` | | | replicaCount | int | `1` | |
| resources | object | `{}` | | | resources | object | `{}` | |
@ -86,7 +86,7 @@ helm uninstall ocrserver-release
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs) Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
# ocrserver # ocrserver
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square) ![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)
Run OCR-Server Run OCR-Server
@ -109,7 +109,7 @@ Run OCR-Server
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. | | image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. |
| image.registry | string | `"docker.io"` | | | image.registry | string | `"docker.io"` | |
| image.repository | string | `"otiai10/ocrserver"` | | | image.repository | string | `"otiai10/ocrserver"` | |
| image.tag | string | `"v1.1"` | | | image.tag | string | `"latest"` | |
| imagePullSecrets | list | `[]` | This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ | | imagePullSecrets | list | `[]` | This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ |
| ingress.annotations | object | `{}` | | | ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | | | ingress.className | string | `""` | |
@ -118,14 +118,14 @@ Run OCR-Server
| ingress.hosts[0].paths[0].path | string | `"/"` | | | ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | | ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | | | ingress.tls | list | `[]` | |
| livenessProbe.httpGet.path | string | `"/"` | | | livenessProbe.httpGet.path | string | `"/status"` | |
| livenessProbe.httpGet.port | string | `"http"` | | | livenessProbe.httpGet.port | string | `"http"` | |
| nameOverride | string | `""` | This is to override the chart name. | | nameOverride | string | `""` | This is to override the chart name. |
| nodeSelector | object | `{}` | | | nodeSelector | object | `{}` | |
| podAnnotations | object | `{}` | This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ | | podAnnotations | object | `{}` | This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| podLabels | object | `{}` | This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | | podLabels | object | `{}` | This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| podSecurityContext | object | `{}` | | | podSecurityContext | object | `{}` | |
| readinessProbe.httpGet.path | string | `"/"` | | | readinessProbe.httpGet.path | string | `"/status"` | |
| readinessProbe.httpGet.port | string | `"http"` | | | readinessProbe.httpGet.port | string | `"http"` | |
| replicaCount | int | `1` | | | replicaCount | int | `1` | |
| resources | object | `{}` | | | resources | object | `{}` | |

View file

@ -81,11 +81,11 @@ resources: {}
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ # This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe: livenessProbe:
httpGet: httpGet:
path: / path: /status
port: http port: http
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /status
port: http port: http
# This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/ # This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/