apiVersion: v1 kind: Namespace metadata: name: vibe-launcher labels: name: vibe-launcher --- apiVersion: apps/v1 kind: Deployment metadata: name: vibe-launcher-backend namespace: vibe-launcher labels: app: vibe-launcher-backend spec: replicas: 1 strategy: type: Recreate selector: matchLabels: app: vibe-launcher-backend template: metadata: labels: app: vibe-launcher-backend spec: containers: - name: server image: docker.io/library/vibe-launcher-backend:1.1.0-deploy11 imagePullPolicy: IfNotPresent ports: - name: http containerPort: 8080 protocol: TCP env: - name: TZ value: Asia/Shanghai - name: HOST value: 0.0.0.0 - name: PORT value: "8080" - name: LAYOUT_DB value: /data/layouts.sqlite envFrom: - secretRef: name: vibe-launcher-auth volumeMounts: - name: data mountPath: /data resources: requests: cpu: 100m memory: 192Mi limits: cpu: 750m memory: 384Mi readinessProbe: httpGet: path: /healthz port: http initialDelaySeconds: 15 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 6 livenessProbe: httpGet: path: /healthz port: http initialDelaySeconds: 60 periodSeconds: 20 timeoutSeconds: 5 failureThreshold: 5 volumes: - name: data hostPath: path: /opt/vibe-launcher/data type: DirectoryOrCreate --- apiVersion: v1 kind: Service metadata: name: vibe-launcher-backend namespace: vibe-launcher labels: app: vibe-launcher-backend spec: type: NodePort selector: app: vibe-launcher-backend ports: - name: http port: 8080 targetPort: http nodePort: 30830 protocol: TCP