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.1

overlay-production/patches/messenger-storage.yaml

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