DevOps Classroom notes 17/Oct/2024

Kubernetes Architecture

  • Refer Here for introduction to k8s
  • We express our desired state in yaml or imperative command and use a client (kubectl) to communicate with k8s and k8s does the rest
  • For master and node components Refer Here

Ways to setup Kubernetes

  • Single System (Developer): This is workstation environment for developmental purposes, Here we have following major options
    • minikube
    • kind
  • Self Hosted
    • kubeadm
    • kubespray (install k8s using ansible )
  • Cloud Hosted
    • AWS: Elastic Kubernetes Services (EKS)
    • Azure: Azure Kuberenetes Services (AKS)
    • GCP: Google Kubernetes Engine (GKE)

Kubernetes stopped supporting docker

  • kubernetes uses a interface called as CRI (Container Runtime Interface)
  • kubernetes used to ship dockershim to interact with docker containers
  • In K8s release 1.21 dockershim was removed Refer Here
  • Mirantis and many other communties have developed CRI for docker Refer Here

Kubernetes workloads

  • Pod
  • ReplicaSet/ReplicationController
  • Deployment
  • DaemonSet
  • StatefulSet
  • Service
  • Ingress
  • Labels
  • Namespaces
  • …

Pod

  • This is the smallest unit of creation by k8s
  • A Pod has one or more containers in it
  • Every Pod gets a unique ipaddress
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%