This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: glucose-dashboard
|
||||
labels:
|
||||
app: glucose-dashboard
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: glucose-dashboard
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: glucose-dashboard
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: glucose-dashboard
|
||||
image: PLACEHOLDER
|
||||
ports:
|
||||
- containerPort: 8501
|
||||
resources:
|
||||
requests: { cpu: 100m, memory: 256Mi }
|
||||
limits: { cpu: 500m, memory: 512Mi }
|
||||
readinessProbe:
|
||||
httpGet: { path: /_stcore/health, port: 8501 }
|
||||
initialDelaySeconds: 10
|
||||
livenessProbe:
|
||||
httpGet: { path: /_stcore/health, port: 8501 }
|
||||
initialDelaySeconds: 30
|
||||
Reference in New Issue
Block a user