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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Definition section in a yaml file

A
apiVersion: 
kind: 
metadata:  
spec: 
  
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe pods

A
kubectl describe pods <pod-name>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Apply pod definition

A
kubectl apply -f multi.yaml
How well did you know this?
1
Not at all
2
3
4
5
Perfectly