Files
qinglong/deploy/kubernetes/base/qinglong.yaml
T
whyour c5458596c8 feat(cron): expose run receipts and modularize execution
Return committed trigger IDs and add CLI wait and trigger-specific logs while
preserving API, CLI, transaction, deduplication and unknown-result semantics.

Move scheduling, lifecycle, settlement, queries and legacy adapters into
back/cron; remove obsolete internal import paths and circular dependencies.

Apply project formatting across the repository, cover CJS/MJS in formatting
hooks, add prettier:check and require formatting checks in AGENTS.md.

Validation: backend build; 1398 backend/frontend tests passed (17 platform
skips); 327 CLI tests passed (6 platform skips); 670 files pass format checks.
2026-11-22 12:24:29 +08:00

96 lines
2.1 KiB
YAML

apiVersion: v1
kind: Namespace
metadata:
name: qinglong
---
apiVersion: v1
kind: Service
metadata:
name: qinglong
namespace: qinglong
labels:
app.kubernetes.io/name: qinglong
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: qinglong
ports:
- name: http
port: 5700
targetPort: http
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: qinglong
namespace: qinglong
labels:
app.kubernetes.io/name: qinglong
spec:
serviceName: qinglong
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: qinglong
template:
metadata:
labels:
app.kubernetes.io/name: qinglong
spec:
securityContext:
fsGroup: 5432
fsGroupChangePolicy: OnRootMismatch
containers:
- name: qinglong
image: whyour/qinglong:debian
imagePullPolicy: IfNotPresent
env:
- name: QlBaseUrl
value: '/'
- name: TZ
value: Asia/Shanghai
ports:
- name: http
containerPort: 5700
readinessProbe:
httpGet:
path: /api/health
port: http
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 6
livenessProbe:
httpGet:
path: /api/health
port: http
initialDelaySeconds: 60
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 6
startupProbe:
httpGet:
path: /api/health
port: http
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 60
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 1Gi
volumeMounts:
- name: data
mountPath: /ql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi