Skip to content
imlostincode
ENNL
Deployment kit

symfony-k8s-deployment-kit

The same idea for Symfony apps: one shared deploy setup instead of a copy in every project.

examples / 0.3

overlay-production/patches/scheduler-storage.yaml

View on GitHub ↗ (opens in a new tab)
yaml
# Mount the shared storage PVC into the scheduler.
# Only needed when both the storage and scheduler components are enabled and
# scheduled tasks work with stored files.
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app-scheduler
spec:
  template:
    spec:
      volumes:
        - name: storage
          persistentVolumeClaim:
            claimName: app-storage
      containers:
        - name: scheduler
          volumeMounts:
            - name: storage
              mountPath: /app/storage