aurask/deploy/k3s/base/aurask-web.yaml
Aaron 1ae23d44c1
All checks were successful
aurask-release / build-and-deploy (push) Successful in 3m7s
Expand Aurask k3s production overlay and release pipeline
2026-04-19 18:05:46 +08:00

57 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: aurask-web
namespace: aurask
spec:
replicas: 1
selector:
matchLabels:
app: aurask-web
template:
metadata:
labels:
app: aurask-web
spec:
imagePullSecrets:
- name: devcloud-registry
containers:
- name: web
image: registry.mydevcloud.love/devcloud/aurask-web:latest
imagePullPolicy: Always
ports:
- containerPort: 80
name: http
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 15
periodSeconds: 20
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
---
apiVersion: v1
kind: Service
metadata:
name: aurask-web
namespace: aurask
spec:
selector:
app: aurask-web
ports:
- name: http
port: 80
targetPort: 80