You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT What happened:
Can't run example "Volumes" due to PVC already exists error What you expected to happen:
Run example Volumes correctly. How to reproduce it (as minimally and precisely as possible):
Copy from https://argoproj.github.io/docs/argo/examples/readme.html#volumes
Just submit this yaml to run:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: volumes-pvc-
spec:
entrypoint: volumes-pvc-example
volumeClaimTemplates: # define volume, same syntax as k8s Pod spec
- metadata:
name: workdir # name of volume claim
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Gi # Gi => 1024 * 1024 * 1024
templates:
- name: volumes-pvc-example
steps:
- - name: generate
template: whalesay
- - name: print
template: print-message
- name: whalesay
container:
image: docker/whalesay:latest
command: [sh, -c]
args: ["echo generating message in volume; cowsay hello world | tee /mnt/vol/hello_world.txt"]
# Mount workdir volume at /mnt/vol before invoking docker/whalesay
volumeMounts: # same syntax as k8s Pod spec
- name: workdir
mountPath: /mnt/vol
- name: print-message
container:
image: alpine:latest
command: [sh, -c]
args: ["echo getting message from volume; find /mnt/vol; cat /mnt/vol/hello_world.txt"]
# Mount workdir volume at /mnt/vol before invoking docker/whalesay
volumeMounts: # same syntax as k8s Pod spec
- name: workdir
mountPath: /mnt/vol
Anything else we need to know?:
The PVC is not exist before I run argo submit. It is created after I run submit and error appear. I don't konw why? Environment:
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
Can't run example "Volumes" due to PVC already exists error
What you expected to happen:
Run example Volumes correctly.
How to reproduce it (as minimally and precisely as possible):
Copy from https://argoproj.github.io/docs/argo/examples/readme.html#volumes
Just submit this yaml to run:
Anything else we need to know?:
The PVC is not exist before I run argo submit. It is created after I run submit and error appear. I don't konw why?
Environment:
Other debugging information (if applicable):
The text was updated successfully, but these errors were encountered: