Skip to content

Commit

Permalink
Merge branch 'main' into vcc
Browse files Browse the repository at this point in the history
  • Loading branch information
KeranYang authored Sep 18, 2024
2 parents 057af8e + cbe9054 commit 339bfbe
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/user-guide/reference/configuration/volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,28 @@ spec:
- mountPath: /path/to/my-sink-config
name: my-udsink-config
```
## PVC Example
Example to show how to attach a Persistent Volume Claim (PVC) to a container.
```yaml
apiVersion: numaflow.numaproj.io/v1alpha1
kind: Pipeline
metadata:
name: my-pipeline
spec:
vertices:
- name: my-source
volumes:
- name: mypd
persistentVolumeClaim:
claimName: myclaim
source:
udsource:
container:
image: my-source:latest
volumeMounts:
- mountPath: /path/to/my-source-config
name: mypd
```

0 comments on commit 339bfbe

Please sign in to comment.