agoda-com / agoda-com/macOS-vz-kubelet

Command and args

未关闭
#8 13 条评论 0 个 reaction 已指派 1 人 已被 @Raikerian 认领 在 GitHub 查看
enhancement
主要语言
Go
星标
402
派生
33
PR 合并指标
30 天内没有已合并 PR

描述

# 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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。