Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples: Update readiness and liveness checks. #821

Merged
merged 1 commit into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/src/deployment/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ a list of the criteria for each service an provider.
| Manage | Provider is ready |
| Relay | Provider is ready |
| Agent | Provider is ready AND connected to relay |

<br/>

| Provider | Readiness |
|----------|--------------------------------------------|
Expand Down
9 changes: 9 additions & 0 deletions examples/agones-xonotic-relay/proxy-pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,20 @@ spec:
- name: RUST_LOG
value: info #,quilkin=trace
livenessProbe:
periodSeconds: 5
failureThreshold: 3
httpGet:
path: /live
port: 8000
scheme: HTTP
readinessProbe:
periodSeconds: 1
failureThreshold: 900
successThreshold: 1
httpGet:
path: /ready
port: 8000
scheme: HTTP
ports:
- containerPort: 7777
protocol: UDP
Expand Down
18 changes: 18 additions & 0 deletions examples/agones-xonotic-relay/relay-control-plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,20 @@ spec:
value: info
image: us-docker.pkg.dev/quilkin-mark-dev/release/quilkin:0.7.0
livenessProbe:
periodSeconds: 5
failureThreshold: 3
httpGet:
path: /live
port: 8000
scheme: HTTP
readinessProbe:
periodSeconds: 1
failureThreshold: 900
successThreshold: 1
httpGet:
path: /ready
port: 8000
scheme: HTTP
ports:
- containerPort: 7800
protocol: TCP
Expand Down Expand Up @@ -160,11 +169,20 @@ spec:
value: info
image: us-docker.pkg.dev/quilkin-mark-dev/release/quilkin:0.7.0
livenessProbe:
periodSeconds: 5
failureThreshold: 3
httpGet:
path: /live
port: 8000
scheme: HTTP
readinessProbe:
periodSeconds: 1
failureThreshold: 900
successThreshold: 1
httpGet:
path: /ready
port: 8000
scheme: HTTP
serviceAccountName: quilkin-agones
---
apiVersion: v1
Expand Down
9 changes: 9 additions & 0 deletions examples/agones-xonotic-xds/proxy-pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,20 @@ spec:
- name: RUST_LOG
value: info #,quilkin=trace
livenessProbe:
periodSeconds: 5
failureThreshold: 3
httpGet:
path: /live
port: 8000
scheme: HTTP
readinessProbe:
periodSeconds: 1
failureThreshold: 900
successThreshold: 1
httpGet:
path: /ready
port: 8000
scheme: HTTP
ports:
- containerPort: 7777
protocol: UDP
Expand Down
9 changes: 9 additions & 0 deletions examples/agones-xonotic-xds/xds-control-plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,20 @@ spec:
value: info
image: us-docker.pkg.dev/quilkin/release/quilkin:0.7.0
livenessProbe:
periodSeconds: 5
failureThreshold: 3
httpGet:
path: /live
port: 8000
scheme: HTTP
readinessProbe:
periodSeconds: 1
failureThreshold: 900
successThreshold: 1
httpGet:
path: /ready
port: 8000
scheme: HTTP
ports:
- containerPort: 7800
protocol: TCP
Expand Down