DevOps Classroom notes 23/Feb/2025

Kubernetes Metrics server

Kubernetes HPA and VPA

  • To use HPA (Horizontal Pod Autoscaler) or VPA (Vertical Pod Autoscaler) we need metrics server to be enabled
  • Basic Algorithm is used for scaling which scales up immedietly and scales down after 5 minutes.
  • Refer Here for the changes done in the class

Volumes or Persistence in k8s

  • Kubernetes supports two types of Volumes
    • Ephemeral Volumesc: They are available as long as Pod is alive
    • Persistent Volumes: These are volumes which have lifetime independent of Pod
  • Lets discuss Persistent Volumes
  • For relation between PV, PVC, SC and CSI-Driver watch classroom video
  • List of CSI Drivers Refer Here
  • PVs
  • Access Modes

Lets create a mysql pod with a persistent volume of size 1Gi

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
Plugin for Social Media by Acurax Wordpress Design Studio
Exit mobile version
%%footer%%