1 2 3 4 5 6 7 8 9 10 | apiVersion: v1 kind: Pod metadata: name: command-demo spec: containers: - name: command-demo-container image: nginx command: ["echo"] args: ["Hi this is args test"] | cs |
9번 : 사용할 커맨드
10번 : 커맨드에 전달할 인자
1 2 3 4 5 6 7 8 9 10 11 | apiVersion: v1 kind: Pod metadata: name: command-demo spec: containers: - name: command-demo-container image: nginx command: - "echo" - "Hi this is args test" | cs |
10번 : 사용할 커맨드
11번 : 커맨드에 전달할 인자