Container Orchestration Flashcards
(100 cards)
What is the ‘lift and shift’ approach in cloud migration?
Moving unchanged infrastructure and software from on-premise to the cloud.
Why is the lift and shift approach used?
To reduce Total Cost of Ownership (TCO).
What is a major drawback of the lift and shift approach?
It carries forward flaws to cloud hosting.
When is the lift and shift approach suitable?
For mission-critical systems with predictable usage patterns.
Internal utilities that won’t require autoscaling.
In emergency situations like data center lease termination.
What are cloud-native applications?
Applications redesigned to leverage cloud-specific features.
What are examples of cloud-native features?
Elastic computing, CaaS, autoscaling, high availability.
What benefits do cloud-native applications provide?
Operational flexibility, resource abstraction, automated replication, and self-healing.
What enables automatic application management in the cloud?
Container technology.
What is the function of container orchestration?
Connects, replicates, and scales containerized workloads using declarative APIs.
How do containers differ from virtual machines in terms of resource requirements?
Containers are lighter on resource requirements.
How fast do containers start compared to VMs?
Containers start in milliseconds; VMs in minutes.
What is a benefit of container images compared to VM images?
Easier to make, reuse, and update.
How do containers and VMs differ in terms of OS?
VMs run their own OS; containers share the host OS kernel.
What type of virtualization do containers use?
OS-level virtualization.
What isolation level do containers provide?
Process-level isolation.
What is a Docker bridge network?
A software bridge allowing communication between containers on the same network, isolated from others.
What extra feature does a user-defined Docker bridge network provide?
Automatic service discovery via container name resolution.
What underpins most container technology today?
Linux namespaces and cgroups.
What do namespaces provide in containers?
Isolated workspace per container.
What do cgroups do?
Limit resources (CPU, memory, disk) for containers.
What are the types of Windows container isolation?
WSL2 containers, process isolation, Hyper-V isolation.
What does treating a container like a VM cause?
Problems with lifecycle control, scaling, and logs.
What does container lifecycle management now represent?
Application lifecycle management.
What orchestration challenges arise with containers?
Networking, service discovery, persistent storage, failover, scheduling, autoscaling, external exposure.