Skip to content

Commit

Permalink
[gotosocial] Changes startup, liveness and readiness Probes
Browse files Browse the repository at this point in the history
  • Loading branch information
0hlov3 committed Dec 24, 2024
1 parent a7b556b commit a1b2962
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/gotosocial/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: https://github.com/superseriousbusiness/gotosocial

type: application
# Chart Version
version: "0.5.0"
version: "0.5.1"
# gotosocial version
appVersion: "0.17.3"

Expand Down
10 changes: 7 additions & 3 deletions charts/gotosocial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,19 @@ kubectl exec -ti $CONTAINER_ID -- /gotosocial/gotosocial --config-path /config/c
| `securityContext.runAsNonRoot` | Set Controller container's Security Context runAsNonRoot | `true` |
| `securityContext.runAsUser` | Security Context runAsUser | `1000` |
| `securityContext.runAsGroup` | Security Context runAsGroup | `1000` |
| `startupProbe.httpGet.path` | Path to access on the HTTP server | `/` |
| `startupProbe.httpGet.path` | Path to access on the HTTP server | `/livez` |
| `startupProbe.httpGet.port` | Port for startupProbe | `http` |
| `startupProbe.failureThreshold` | Failure threshold for startupProbe | `60` |
| `startupProbe.periodSeconds` | Period seconds for startupProbe | `10` |
| `livenessProbe.httpGet.path` | Path to access on the HTTP server | `/` |
| `startupProbe.initialDelaySeconds` | ensures probes don't start prematurely. | `5` |
| `livenessProbe.httpGet.path` | Path to access on the HTTP server | `/livez` |
| `livenessProbe.httpGet.port` | Port for livenessProbe | `http` |
| `readinessProbe.httpGet.path` | Path to access on the HTTP server | `/` |
| `livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `2` |
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe, Default: Check every 30 seconds to reduce overhead | `30` |
| `readinessProbe.httpGet.path` | Path to access on the HTTP server | `/readyz` |
| `readinessProbe.httpGet.port` | Port for readinessProbe | `http` |
| `readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `5` |
| `readinessProbe.periodSeconds` | Period seconds for readinessProbe, Default: Check every 10 seconds for readiness | `10` |

### Traffic Exposure Parameters

Expand Down
14 changes: 11 additions & 3 deletions charts/gotosocial/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,27 +186,35 @@ securityContext:
startupProbe:
httpGet:
## @param startupProbe.httpGet.path Path to access on the HTTP server
path: /
path: /livez
## @param startupProbe.httpGet.port Port for startupProbe
port: http
## @param startupProbe.failureThreshold Failure threshold for startupProbe
failureThreshold: 60
## @param startupProbe.periodSeconds Period seconds for startupProbe
periodSeconds: 10
## @param startupProbe.initialDelaySeconds ensures probes don't start prematurely.
initialDelaySeconds: 5
livenessProbe:
httpGet:
## @param livenessProbe.httpGet.path Path to access on the HTTP server
path: /
path: /livez
## @param livenessProbe.httpGet.port Port for livenessProbe
port: http
## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
failureThreshold: 2
## @param livenessProbe.periodSeconds Period seconds for livenessProbe, Default: Check every 30 seconds to reduce overhead
periodSeconds: 30
readinessProbe:
httpGet:
## @param readinessProbe.httpGet.path Path to access on the HTTP server
path: /
path: /readyz
## @param readinessProbe.httpGet.port Port for readinessProbe
port: http
## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
failureThreshold: 5
## @param readinessProbe.periodSeconds Period seconds for readinessProbe, Default: Check every 10 seconds for readiness
periodSeconds: 10

## @section Traffic Exposure Parameters
service:
Expand Down

0 comments on commit a1b2962

Please sign in to comment.