42 lines
903 B
YAML
42 lines
903 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: tsrun
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: tsrun
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: tsrun
|
|
spec:
|
|
containers:
|
|
- name: tsrun
|
|
image: registry.neko-piranha.ts.net/astral/tsrun:latest
|
|
env:
|
|
- name: PORT
|
|
value: "3000"
|
|
- name: BASE_URL
|
|
value: "https://tsr.dgnr.us"
|
|
ports:
|
|
- containerPort: 3000
|
|
name: http
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: http
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: http
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 250m
|
|
memory: 256Mi
|