From 4b87beb9b58553970837e1d85f6d0d12262273d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 22 Feb 2026 14:59:49 +0000 Subject: [PATCH] modified: README.md --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c36e70..727c248 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ metadata: ### Create an pod -Create an ubuntu pod for tty access example: +**Create an ubuntu pod for tty access example:** ``` bash apiVersion: v1 @@ -92,6 +92,28 @@ spec: tty: true # allocate a terminal ``` +**Create an ubuntu pod for tty access example:** + +``` bash +apiVersion: v1 +kind: Pod +metadata: + name: ubuntu-ls-test + namespace: tests +spec: + restartPolicy: Never # executes only one time, no retry on error + +# +# nodeName: "serverExample01" # restrict to an specific node +# + containers: + - name: ubuntu-seaweedfs-test + image: ubuntu + command: ["bash", "-c"] + args: + - "ls -lah /data" + ``` + ### Get Pod **Get pod name by label ap:**