DevOps Classroom notes 30/Dec/2025

Pods contd

  • Kubernetes supports three Quality of Service classes for containers in pods
    • Guranteed
    • Burstable
    • Best Efforts
  • Refer Here for official docs
  • The containers running a a pod without mentioning resources it requires falls under best effort.
  • The containers running in a pod with minimum resources required and maximum resources required mentioned fall under
    • Burstable (if minimum < maximum)
    • Guranteed (if minimum == maximum)

How to mention resources -> requests and limits

Best-efforts

  • sample
---
apiVersion: v1
kind: Pod
metadata:
  name: best-efforts
  labels:
    app: httpd
    purpose: learning
    env: dev
spec:
  containers:
    - name: httpd
      image: httpd:latest
      ports:
        - name: httpd
          protocol: TCP
          containerPort: 80
  • Scheduler will look into nodes and assigns this pod to any node

Burstable

  • Refer Here for mentioning resources
  • Refer Here for all the yaml files which we have used to understand impact of resources on Pods and scheduling the pods.

Inspecting pods

  • kubectl has a command called describe
kubectl describe <type> <name>
kubectl get <type> <name>
kubectl get <type> <name> -o yaml

Figuring out what can be created in a k8s cluster

  • execute the following command
kubectl api-resources


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%%