create a deployment Flashcards

1
Q

what is a pod?

A

the smallest unit. a single or group of application containers

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

containers within a pod share what?

A

ip address, port space, storage volumes. they are co-scheduled, share a context

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

what is the command to create a deployment

A

kubectl create deployment

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

what is the command to destroy a deployment

A

kubectl delete deployment

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

what must be supplied when creating a deployment?

A

a deployment config

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

what does the kubelet do

A

communicate with the master. Also run the pods

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

what exposes an app publicly?

A

a Service

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

Are pods exposed outside the cluster without a serivce?

A

no

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

What specifies the way a cluster is exposed externally?

A

The service type

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

What are the four types of services?

A

ClusterIP, NodePort, LoadBalancer, ExternalName

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

how is application scaling achieved ?

A

by increasing the the number of replicas in a deployment

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