Containerization for Big Data Flashcards
Characteristics of containers
1 - Isolated
2 - Portable
Which kind of registries for Docker images do you have?
1 - Local registries (on the same host)
2 - Docker hub registry (globally shared)
3 - Private registry
What is a single engine mode for Docker?
It denotes that a container does not participate in a swarm
Kubernetes pod
The set of related containers, which runs on a single host
Kubernetes name for swarm
cluster
Characteristics of microservices
1 - stateless 2 - available in multiple copies 3 - no data sharing among piers 4 - own database 5 - data intensive brokering for message queues (no messages are ever lost)
image
A persistent snapshot of a VM that can be run
container
A runnable instance of an image. The file states how to run the image
What is the benefit over Docker compared to VMs?
Docker allows you to define the application and requirements in a single file, and Docker will figure out what dependencies are still needed and configure them. In a VM you need to do everything yourself
Dockerfiles are defined in a document that is infrastructure-as-code. What does this mean?
Everything that is needed to run the application is defined in a script.
Kubernetes is a building block platform, which is the opposite of a turnkey platform. What is a turnkey platform?
A platform that is already readily available
What are the three things that Kubernetes can be used for?
1 - Scheduler
2 - Run cloud-native / microservice applications
3 - Run existing applications on containers
KubeDirector
A custom controller which eliminates the need to build an application-specific operator. It watches for custom resources to appear or change and create or modifies standard Kubernetes resources in response to the custom resources