feat(supabase): add services and statefulset for database management
feat(synapse): update ingress to use traefik ingress class and bump version feat(syncthing-discovery): introduce syncthing discovery service with deployment and ingress feat(syncthing-relay): add syncthing relay server with deployment and ingress configuration fix(taiga): update liveness and readiness probes to use tcpSocket for health checks fix(taiga): change PVC access mode to ReadWriteMany for media and static storage feat(traefik): add icon and ignore rules for traefik service docs(ushahidi): add notes for Redis configuration and Laravel startup probe adjustments feat(ushahidi): implement dedicated Redis deployment for Ushahidi fix(vllm): update deployment strategy and readiness/liveness probes for improved stability fix(writefreely): pin writefreely image version to v0.15.1 for consistency docs(zulip): add notes for TLS-terminating reverse proxy configuration and expected behavior
This commit is contained in:
70
supabase/versions/1/deployment-rest.yaml
Normal file
70
supabase/versions/1/deployment-rest.yaml
Normal file
@@ -0,0 +1,70 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: supabase-rest
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
component: rest
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
component: rest
|
||||
spec:
|
||||
containers:
|
||||
- name: rest
|
||||
image: postgrest/postgrest:v14.12
|
||||
command: ["postgrest"]
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
env:
|
||||
- name: PGRST_DB_URI
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: supabase-secrets
|
||||
key: dbUrlRest
|
||||
- name: PGRST_DB_SCHEMAS
|
||||
value: "public,storage,graphql_public"
|
||||
- name: PGRST_DB_MAX_ROWS
|
||||
value: "1000"
|
||||
- name: PGRST_DB_EXTRA_SEARCH_PATH
|
||||
value: "public"
|
||||
- name: PGRST_DB_ANON_ROLE
|
||||
value: anon
|
||||
- name: PGRST_ADMIN_SERVER_PORT
|
||||
value: "3001"
|
||||
- name: PGRST_ADMIN_SERVER_HOST
|
||||
value: localhost
|
||||
- name: PGRST_JWT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: supabase-secrets
|
||||
key: jwtSecret
|
||||
- name: PGRST_DB_USE_LEGACY_GUCS
|
||||
value: "false"
|
||||
- name: PGRST_APP_SETTINGS_JWT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: supabase-secrets
|
||||
key: jwtSecret
|
||||
- name: PGRST_APP_SETTINGS_JWT_EXP
|
||||
value: "{{ .jwtExpiry }}"
|
||||
livenessProbe:
|
||||
exec:
|
||||
command: ["postgrest", "--ready"]
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
exec:
|
||||
command: ["postgrest", "--ready"]
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
resources:
|
||||
requests:
|
||||
memory: 128Mi
|
||||
cpu: 50m
|
||||
Reference in New Issue
Block a user