diff --git a/README.md b/README.md index 727c248..99ff070 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ spec: tty: true # allocate a terminal ``` -**Create an ubuntu pod for tty access example:** +**Create an ubuntu pod with and execute command:** ``` bash apiVersion: v1 @@ -112,6 +112,13 @@ spec: command: ["bash", "-c"] args: - "ls -lah /data" + volumeMounts: + - name: data + mountPath: /data + volumes: + - name: data + persistentVolumeClaim: + claimName: data-pvc ``` ### Get Pod