Skip to content

Commit

Permalink
Changed the question (dgkanatsios#68)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
parth-pandit authored and dgkanatsios committed Sep 27, 2019
1 parent fdc1cbe commit af2dd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c.pod_design.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ kubectl delete hpa nginx

## Jobs

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

<details><summary>show</summary>
<p>
Expand Down

0 comments on commit af2dd83

Please sign in to comment.