fix: Replace PVC with emptyDir to resolve pod pending issue
- Remove PersistentVolumeClaim definition from deployment.yaml
- Replace persistentVolumeClaim volume with emptyDir for temporary storage
- Database files will be stored in pod memory/disk (ephemeral)
- Pods can now schedule without waiting for storage provisioning
Note: Data is not persistent across pod restarts. For production, implement proper storage class or migrate to persistent storage solution.
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9420975f76
commit
02c41b9f4e
@ -59,18 +59,4 @@ spec:
|
||||
mountPath: /app/database
|
||||
volumes:
|
||||
- name: database
|
||||
persistentVolumeClaim:
|
||||
claimName: sqdc-dashboard-pvc
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sqdc-dashboard-pvc
|
||||
namespace: sqdc-dashboard
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storageClassName: standard
|
||||
emptyDir: {}
|
||||
|
||||
@ -9,6 +9,7 @@ resources:
|
||||
- service.yaml
|
||||
- ingress.yaml
|
||||
- configmap.yaml
|
||||
# Note: PVC removed - using emptyDir for temporary storage
|
||||
|
||||
commonLabels:
|
||||
app: sqdc-dashboard
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user