create a deployment Flashcards
what is a pod?
the smallest unit. a single or group of application containers
containers within a pod share what?
ip address, port space, storage volumes. they are co-scheduled, share a context
what is the command to create a deployment
kubectl create deployment
what is the command to destroy a deployment
kubectl delete deployment
what must be supplied when creating a deployment?
a deployment config
what does the kubelet do
communicate with the master. Also run the pods
what exposes an app publicly?
a Service
Are pods exposed outside the cluster without a serivce?
no
What specifies the way a cluster is exposed externally?
The service type
What are the four types of services?
ClusterIP, NodePort, LoadBalancer, ExternalName
how is application scaling achieved ?
by increasing the the number of replicas in a deployment