"K8s command"의 두 판 사이의 차이

(새 문서: ==개요== ;K8s command <syntaxhighlight lang='console'> apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: - na...)
 
2번째 줄: 2번째 줄:
;K8s command
;K8s command


<syntaxhighlight lang='console'>
<syntaxhighlight lang='yaml'>
apiVersion: v1
apiVersion: v1
kind: Pod
kind: Pod

2020년 11월 30일 (월) 13:54 판

1 개요

K8s command
apiVersion: v1
kind: Pod
metadata:
  name: command-demo
  labels:
    purpose: demonstrate-command
spec:
  containers:
  - name: command-demo-container
    image: debian
    command: ["printenv"]
    args: ["HOSTNAME", "KUBERNETES_PORT"]
  restartPolicy: OnFailure

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}