Kubernetes----生産資源リスト定義Pod.yaml
16134 ワード
pod.yaml(kubectl explain pod)
argsとcommandの比較
Image Entrypoint
Image Cmd
Container command
Container args
Command run
[/ep-1]
[foo bar]
[ep-1 foo bar]
[/ep-1]
[foo bar]
[/ep-2]
[ep-2]
[/ep-1]
[foo bar]
[zoo boo]
[ep-1 zoo boo]
[/ep-1]
[foo bar]
[/ep-2]
[zoo boo]
[ep-2 zoo boo]
KIND: Pod
VERSION: v1
DESCRIPTION:
Pod is a collection of containers that can run on a host. This resource is
created by clients and scheduled onto hosts.
apiVersion: v1 #
kind: Pod #
metadata:
argsとcommandの比較
Image Entrypoint
Image Cmd
Container command
Container args
Command run
[/ep-1]
[foo bar]
[ep-1 foo bar]
[/ep-1]
[foo bar]
[/ep-2]
[ep-2]
[/ep-1]
[foo bar]
[zoo boo]
[ep-1 zoo boo]
[/ep-1]
[foo bar]
[/ep-2]
[zoo boo]
[ep-2 zoo boo]