ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

Kubernetes(K8S)中command和args区别

Kubernetes(K8S)中command和args区别

image

 

使用方法参考下图:Image Entrypoint    Image Cmd    Container command    Container args    Command run
[/ep-1]    [foo bar]    <not set>    <not set>    [ep-1 foo bar]
[/ep-1]    [foo bar]    [/ep-2]    <not set>    [ep-2]
[/ep-1]    [foo bar]    <not set>    [zoo boo]    [ep-1 zoo boo]
[/ep-1]    [foo bar]    [/ep-2]    [zoo boo]    [ep-2 zoo boo]

 

返回列表