Skip to content

Command and args #8

@travisghansen

Description

@travisghansen

Question

None of the examples show a usage of command and/args in the pod spec. Is it possible to set a script to run with proper env per the pod spec and then when it exits the vm is destroyed by nature of the ‘entrypoint’ exiting?

Suggestion (Optional)

Should I simply be doing this in the postStart script and make sure it runs shutdown or similar at the end? If this is the correct approach are env vars flowing down as expected?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions