Skip to content

Commit 5c32cd9

Browse files
committed
update kubernetes example
1 parent e89c2fb commit 5c32cd9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Developers create a schema that models their permissions requirements and use a
1717
Examples in this repository include:
1818

1919
- How to set up SpiceDB with tracing: see [tracing](./tracing)
20+
- How to run SpiceDB in a Kubernetes cluster: see [kubernetes](./kubernetes)
2021
- CI/CD Workflows
2122

2223
Have questions? Join our [Discord].

kubernetes/example.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ spec:
143143
- name: "prometheus"
144144
containerPort: 9090
145145
protocol: "TCP"
146-
readinessProbe:
147-
exec:
148-
command: ["grpc_health_probe", "-v", "-addr=localhost:50051"]
146+
livenessProbe:
147+
grpc:
148+
port: 50051
149149
failureThreshold: 5
150150
periodSeconds: 10
151151
successThreshold: 1

0 commit comments

Comments
 (0)