jiaqing-tee / starquest_jq

0 stars 0 forks source link

Containers training #2

Open jiaqing-tee opened 6 months ago

jiaqing-tee commented 6 months ago

Containers training

Playlist: https://www.youtube.com/playlist?list=PLLTou95Km32RKy7RLTDkL4O8Zkj-taxnF

jiaqing-tee commented 6 months ago

Containerization

Title: Containerization Explained Link: https://youtu.be/0qotVMX-J5s

Takeaway

3 Step Process for Containers

  1. Create Manifest: Describes the container
    • Docker: DockerFile
    • Cloud Foundry: manifest YAML
  2. Build Image
    • Docker: Docker image
    • Rocket: Application Container Image (ACI)
  3. Push image to registry
    • Contains all runtimes, libraries, and binaries for the application

image

jiaqing-tee commented 6 months ago

Containers and VMs Differences

Title: Containers vs VMs: What's the difference? Link: https://youtu.be/cjXI-yxqGTI

Takeaways

Differences

  1. Virtualization
    • VMs are hardware level virtualization
    • Containers are operating system level virtualization
  2. Isolation
    • VMs achieves isolation of machines
    • Containers deals with process isolation
  3. Resources accessed
    • VMs: Hypervisor creates different machines out of server
    • Containers: Kernel have namespaces which allow the customization and appearance of each container instance has its own OS
    • Containers: Kernel have control groups (cgroups) which monitors and meters the resources. This helps to limit the resources the containers are accessing
  4. Portability and Flexibility
    • VMs: Infinite flexibility of hardware
    • Containers: Infinite portability
    • Run type 2 hypervisor (VirtualBox) which gives flexibility with containers which gives portability together
jiaqing-tee commented 6 months ago

Kubernetes vs Docker

Title: Kubernetes vs. Docker: It's Not an Either/Or Question Link: https://youtu.be/2vMEQ5zs1ko

Takeaways

3 Major Kubernetes Advantages

  1. Deployment
    • Kubernetes deployment: if application crashes, auto restarts
  2. Development
    • Kubernetes deploys load balancers for microservices
    • Use Kubernetes service which make use of service registry and discovery capabilities
    • Each Kubernetes has a Kubernetes service --> allowing applications to speak to one another
  3. Monitoring
    • Kubernetes has capabilities to see logs and CPU load in a UI
    • Community built many useful tools such as Istio
jiaqing-tee commented 6 months ago

Kubernetes and OpenShift

Title: Kubernetes and OpenShift: What's the Difference? Link: https://youtu.be/cTPFwXsM2po

Takeaways

Managing Applications

Node Configuration

Security

jiaqing-tee commented 6 months ago

Bare Metal, VMs, and Containers

Title: Big Misconceptions about Bare Metal, Virtual Machines, and Containers Link: https://youtu.be/Jz8Gs4UHTO8

Takeaways

Bare metal server

VMs

Containers

After Containers

image