59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
|
|
---
|
||
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: blorp
|
||
|
|
namespace: blorp-application
|
||
|
|
labels:
|
||
|
|
app.kubernetes.io/name: blorp
|
||
|
|
app.kubernetes.io/component: web
|
||
|
|
spec:
|
||
|
|
replicas: 2
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app.kubernetes.io/name: blorp
|
||
|
|
app.kubernetes.io/component: web
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app.kubernetes.io/name: blorp
|
||
|
|
app.kubernetes.io/component: web
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: blorp
|
||
|
|
image: ghcr.io/blorp-labs/blorp:latest
|
||
|
|
imagePullPolicy: Always
|
||
|
|
ports:
|
||
|
|
- containerPort: 80
|
||
|
|
name: http
|
||
|
|
env:
|
||
|
|
- name: REACT_APP_NAME
|
||
|
|
value: "Blorp"
|
||
|
|
- name: REACT_APP_DEFAULT_INSTANCE
|
||
|
|
value: "https://piefed.keyboardvagabond.com,https://lemmy.world,https://lemmy.zip,https://piefed.social"
|
||
|
|
- name: REACT_APP_LOCK_TO_DEFAULT_INSTANCE
|
||
|
|
value: "0"
|
||
|
|
- name: REACT_APP_INSTANCE_SELECTION_MODE
|
||
|
|
value: "default_first"
|
||
|
|
resources:
|
||
|
|
requests:
|
||
|
|
cpu: 50m
|
||
|
|
memory: 64Mi
|
||
|
|
limits:
|
||
|
|
cpu: 200m
|
||
|
|
memory: 128Mi
|
||
|
|
livenessProbe:
|
||
|
|
httpGet:
|
||
|
|
path: /
|
||
|
|
port: 80
|
||
|
|
initialDelaySeconds: 10
|
||
|
|
periodSeconds: 30
|
||
|
|
timeoutSeconds: 5
|
||
|
|
readinessProbe:
|
||
|
|
httpGet:
|
||
|
|
path: /
|
||
|
|
port: 80
|
||
|
|
initialDelaySeconds: 5
|
||
|
|
periodSeconds: 10
|
||
|
|
timeoutSeconds: 3
|