modified: README.md

This commit is contained in:
2026-02-27 15:09:03 +00:00
parent 4b87beb9b5
commit 4da06c6bd3

View File

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