4. Multi-container PODs Flashcards
1
Q
Multi Pod definition
A
apiVersion: v1 kind: Pod metadata: name: yellow spec: containers: - name: lemon image: busybox command: - sleep - "1000" - name: gold image: redis
2
Q
Definition section in a yaml file
A
apiVersion: kind: metadata: spec:
3
Q
Describe pods
A
kubectl describe pods <pod-name>
4
Q
Apply pod definition
A
kubectl apply -f multi.yaml