DevOps Classroom notes 17/Oct/2024

Kubernetes Architecture

  • Refer Here for introduction to k8s
    Preview
  • We express our desired state in yaml or imperative command and use a client (kubectl) to communicate with k8s and k8s does the rest
    Preview
  • 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
    Preview

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube