Hi All, Is there any imperative command with sleep 4800 while creating a pod so . . .

Manas Sahoo:
Hi All, Is there any imperative command with sleep 4800 while creating a pod so that I dont have to modify the yaml file after creating it ?

Tej_Singh_Rana:
Hello, @Manas Sahoo
You can try below example:

kubectl run test --image=busybox:1.28 --command -- sleep 4800

Tej_Singh_Rana:
If you wanna see manifest file then use --dry-run=client -oyaml before double hyphen ().

Manas Sahoo:
ok thanks @Tej_Singh_Rana