Node (minion) - answer machine, physical or virtual; kubelet runs on the node
Master node - answer node that manages a cluster
API Server - answerfront end for k8s cluster, accepts commands from tools including
CLI
etcd - answer distributed key-value store that contains all cluster metadata
Scheduler - answer distributes work across multiple nodes in a cluster
Controller - answermanages the health of the cluster by taking action when a pod or
node has gone down or is non-responsive
kubelet - answeragent that runs on a node and runs the containers and carries out
commands from the master
What components are on the master node? - answerkube-apiserver
controller
etcd
scheduler
How do I see the nodes in a cluster? - answerget nodes
How do I see cluster metadata? - answercluster-info
Pod - answercontainers are deployed inside pods; single application instance; smallest
object in k8s
helper container(s) - answercontainers that assist or accompany the primary application
containers. usually deployed in the same pod to share access to network or storage.
What is shared in a pod? - answernetwork, storage
kubectl run <name> --image <container> - answercreates a pod and runs the container
in the pod
what is metadata in a definition yaml? - answera yaml dictionary of names, labels, etc
Pod spec example - answerspec:
conatiners:
- name:
image:
True or False: A pod can contain multiple containers. - answerTrue
command to create object from a file - answercreate -f <file>
command to see object details - answerdescribe <type> <name>
replication controller - answerensures that a specified number of pod replicas are
running at any given time; older tech that is being replaced by replica set in
deployments
replica - answera replica of a pod
how do I use a replication controller for load balancing and scaling? - answer
replica set - answerensures that a specified number of pod replicas are running at any
given time
command to list replication controllers - answerget rc
replica set spec - answertemplate: <pod def>
replicas: <count>
selector:
command to list replica sets - answerget rs
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Dreamer252. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $15.99. You're not tied to anything after your purchase.