Clean up K8s specs and add README.md

This commit is contained in:
2025-02-26 21:33:11 -05:00
parent da4a2a6e0c
commit c316341163
5 changed files with 62 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ spec:
claimName: system-data
containers:
- name: api-server
image: registry.millslan.net/glmdev/p5x-api:latest
image: docker.io/glmdev/p5x-api:latest
# TODO: (1) add a dedicated /healthz endpoint and (2) prevent that endpoint from writing to the Rocket logs
# livenessProbe:
# failureThreshold: 5
@@ -36,7 +36,7 @@ spec:
# periodSeconds: 120
# timeoutSeconds: 10
envFrom:
- configMapRef:
- secretRef:
name: api-env
env:
- name: P5X_NODE_HOSTNAME

13
deploy/60-service.yaml Normal file
View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: api
namespace: p5x-system
spec:
selector:
app: p5x-api-server
ports:
- protocol: TCP
port: 3450
targetPort: p5x