Quiz 2 Flashcards
What is Borg?
Googles internal container orchestration framework
What is Kubernetes?
An open source version of Borg
What are some infrastructures that Kubernetes supports?
Public clouds, Private Clouds, On-premises, Bare-metal
What is the goal of Kubernets?
Manage applications
What is the etcd?
What is stored in the etcd?
Key value pair
Cluster data, cluster state, consensus, configurations
What is the kub-scheduler?
The main scheduler in kubernetes
What are the 4 basic objects in Kubernets?
Pod, Volume, Service, Namespace
What is a Pod in Kubernets?
The basic deployment unit
What does a pod contain?
One or multiple (different) containers
What is Co-scheduling?
When containers in a pod are scheduled together
Containers in a pod share what?
IP/Port
Disk volume
How do containers communicate?
Via localhost
What are the three multi-container models in pods?
Sidecar containers
Ambassador containers
Adapter Containers
What is a Sidecar container?
A container thats meant as a helper
What is an ambassador container?
A proxy container
What is an Adapter Container?
A standardization or common interface container
What is Volume?
A persistent storage for a pod
What is a Service?
A logical group of pods that work together
What are some attributes of a service?
They have a virtual IP, port and DNS
What are the two groups of Services?
Labels and slecectors
What are Namespaces?
Logical slices of Kubernets clusters
What are Labels used in?
Pod selection
What are Selectors used for?
To select a certain section of a pod
What do controllers do?
Create and manage the four objects, Pods, Volumes, Services and Namespaces
What are the two sections of autoscaling in Kubernetes?
Pod Autoscaler and Cluster Autoscaler
What are the three Pod autoscalers?
Horizontal, Vertical and Multidimensional
What is Prometheus?
A 3rd party framework used to monitor container orchestration
What type of data model does Prometheus have?
A time series data model
What is the worse case scenario for a service provider?
An unpredictable traffic spike
What is the average resource utilization of cloud instances?
20-30%
What are the two main ideas behind serverless computing?
What if a smaller unit of computing can be used, what if the computing unit can be scaled out independently
Why did people make server less computing?
To reduce over provisioning, and gain a more fine grained way of provisioning resources
How fast is server less computing?
less than 100ms
What is a Cold Start?
The first execution of a serverless function
What is a Warm start?
When your function is already deployed and has a container running the memory
What is the main motivation for employing timeouts in server less computing?
To avoid wasting resources
What is the relationship between cold and hot starts in server less computing
Is serverless computing cheap or expensive?
Expensive
What are some good things about serverless computing?
Avoids over provisioning
No infrastructure management
Underlying infrastructure is hidden
Scalable
A true on demand cost
Near unlimited computing resources
What are some bad things about serverless computing?
New technology
Limited resources and execution duration
Vendor lock in
Stateless
What are some good use cases for serverless computing?
Reactive web service
Web cralwer
API GW
Environment Automation
Event driven processing
Data Transformation
What are some bad use cases for server less computing?
Long running jobs
Any jobs requiring a large amount of resources
Stateful or Block processes
What are some open questions for serverless computing?
Can you write a large app with many functions
What is the cost
Can a single function be debuged