Pods - recap Flashcards

1
Q

What is a pod

A

A single instance of an application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When scaling, you should…

A

Create new pods not new apps or containers in a single pod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a multi-container system

A
  • when a helper container lives along side and communicates with an app container
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does k8s automate which would normally done by Docker

A
  • scaling application and helper containers
  • scaling volumes
  • connecting all the containers/apps
  • destroying them
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s the command to run an nginx app

A

$ k run nginx

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do I get information about the pods

A

$ k get pods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly