Exercise Create a docker image <username>/exercise:1 for a website at Refer Here The application should be exposed on port 80 and should be accessible on http://<ip> push this image to your docker hub Create a k8s deployment with 4 replicas Create a service exposed on node port Now create one more docker image <username>/exercise:2 for… Continue reading DevOps Classroom notes 08/Jul/2026
Author: continuous learner
devops & cloud enthusiastic learner
DevOps Classroom notes 07/Jul/2026
Exercise Create a docker image <username>/exercise:1 for a website at Refer Here The application should be exposed on port 80 and should be accessible on http://<ip> push this image to your docker hub Create a k8s deployment with 4 replicas Create a service exposed on node port Now create one more docker image <username>/exercise:2 for… Continue reading DevOps Classroom notes 07/Jul/2026
DevOps Classroom notes 06/Jul/2026
DNS in k8s In k8s we have lots of pods and accessing each pod by its ip is not a good idea as when pod gets recreated it might not get same ip. K8s comes with two possible DNS implementations kube-dns: this was used in early versions of k8s core-dns: This is majorly used in… Continue reading DevOps Classroom notes 06/Jul/2026
DevOps Classroom notes 04/Jul/2026
Kubernetes as a Service Cloud providers like AWS, Azure and GCP offer k8s as a service. K8s as a service means control plane will be managed by cloud provider and depending on your pricing plan this might me single node or multi node. you cannot ssh into control plane. To deal with control plane use… Continue reading DevOps Classroom notes 04/Jul/2026
DevOps Classroom notes 02/Jul/2026
Deployments In Reality we have an application which we containerize we need to deploy this application I.e. when we get a newer version of application we need to delete and recreate replica sets in enterprise cases, we might need the following options Capability to move to next version with minimum or no downtime If the… Continue reading DevOps Classroom notes 02/Jul/2026
DevOps Classroom notes 30/Jun/2026
Resource Restrictions in K8s Generally we have two kinds of controls requests: This represents minimum limit required limits: This represents maximum limit Resource Types CPU: 1000m => 1 cpu Memory Lets create a pod with container which requires minimum => 0.1 cpu and 64MB RAM max => 0.5 cpu and 256MB RAM apiVersion: v1 kind:… Continue reading DevOps Classroom notes 30/Jun/2026
DevOps Classroom notes 29/Jun/2026
Pods Pods will have different types of containers init containers: for initialization or checks main application(main car) side car containers ephemeral containers Pod life cycle Pod will first create init containers one by one once the init containers finish then the main car and side car containers are created in parallel A container generally when… Continue reading DevOps Classroom notes 29/Jun/2026
DevOps Classroom notes 27/Jun/2026
How to write manifest files ApiVersioning k8s api server exposes k8s Workloads as Resources K8s maintains api Versions for them K8s has api Versioning scheme Refer Here API Versioning: alpha: v1alpha beta: v1beta stable: v1 or v2 K8s groups multiple resources into api Groups apiVersion: <group>/<version> # if the group name is core write version… Continue reading DevOps Classroom notes 27/Jun/2026
DevOps Classroom notes 21/Jun/2026
Pods Pod is an atomic unit of creation in k8s Think of Pod as a small package with one or more containers in it Every pod will get an unique ip in the k8s cluster Containers in the Pod have shared resources i.e. shared network shared storage Consider typical application If we have to run… Continue reading DevOps Classroom notes 21/Jun/2026
DevOps Classroom notes 18/Jun/2026
Installing k8s using kube-adm CRI => Containerd CNI => Flannel VMS => AWS Prompt You are an experienced kubernetes engineer specialized in installations I am installing Single Master Kubernetes Cluster with version 1.36 I have 2 nodes one for master and one for node The OS on two nodes is ubuntu 26.04 LTS The Container… Continue reading DevOps Classroom notes 18/Jun/2026
