Skip to content

Commit af2dd83

Browse files
parth-panditdgkanatsios
authored andcommitted
Changed the question (dgkanatsios#68)
Based on my understanding of the "default" command, it's the one that is set under "ENTRYPOINT" section of the container image. So, when you want to run that container with its default command, we should not override that default command while creating the container from that image. But here, when we use "-- perl ..." in either create job or run job commands, it would override the default command of the job and does not just update the "args" of the default command. I hope this makes sense. Otherwise, feel free to reject the pull request.
1 parent fdc1cbe commit af2dd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c.pod_design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ kubectl delete hpa nginx
440440

441441
## Jobs
442442

443-
### Create a job with image perl that runs default command with arguments "perl -Mbignum=bpi -wle 'print bpi(2000)'"
443+
### Create a job with image perl that runs the command with arguments "perl -Mbignum=bpi -wle 'print bpi(2000)'"
444444

445445
<details><summary>show</summary>
446446
<p>

0 commit comments

Comments
 (0)