logo
The Red Lobster Book
Kubernetes cluster autoscaler
Initializing search
    realcaptainsolaris/redbook
    realcaptainsolaris/redbook
    • Introduction
      • Learning to code
        • Frontend developer
        • Python
          • Project Template
            • Command-line Project Template
              • Configure SQLAlchemy for projects without flask
            • Flask Project Template
            • Microservices Project Template
              • Create the documentation repository
              • Load config from YAML
              • Configure SQLAlchemy to use the MariaDB/Mysql backend
              • Configure Docker to host the application
            • Pyenv
            • Alembic
            • asyncio
            • BeautifulSoup
            • Boto3
            • Click
            • Dash
            • Dash Leaflet
            • DeepDiff
            • FactoryBoy
            • Faker
            • FastAPI
            • Flask
            • Flask Restplus
            • Folium
            • Feedparser
            • Gettext
            • GitPython
            • Goodconf
            • ICS
            • Jinja2
            • Maison
            • mkdocstrings
            • NetworkX
            • Pandas
            • Passpy
            • pexpect
            • Prompt Toolkit
              • REPL
              • Full screen applications
            • Pydantic
              • Pydantic Field Types
              • Pydantic Validators
              • Pydantic Exporting Models
              • Pydantic Validating Functions
              • Pydantic Factories
              • Pydantic Mypy Plugin
            • Pypika
            • Elasticsearch
            • python-gnupg
            • Python Mysql
            • pythonping
            • Python VLC
            • Plotly
            • questionary
            • rich
            • Ruamel YAML
            • Selenium
            • SQLAlchemy
            • sqlite3
            • Redis-py
            • Requests
            • Requests-mock
            • Rq
            • sh
            • Talkey
            • Tenacity
            • TinyDB
            • Typer
            • Yoyo
          • Type Hints
          • Logging
          • Code Styling
          • Docstrings
          • Properties
          • Package Management
            • PDM
            • Pipenv
            • Poetry
          • Lazy loading
          • Plugin System
          • Profiling
          • Optimization
          • Anti-Patterns
          • Pytest
            • Parametrized testing
            • Pytest-cases
            • Pytest-HttpServer
          • Internationalization
          • Python Snippets
          • Data Classes
        • Vue.js
          • Vue snippets
          • Vuetify
            • Cypress
            • Vite
            • Vitest
          • Bash snippets
        • JSON
        • SQL
        • SQLite
        • YAML
        • Promql
        • HTML
        • CSS
        • Javascript
          • Javascript snippets
          • MermaidJS
        • Qwik
        • JWT
        • React
        • Program Versioning
          • Semantic Versioning
          • Calendar Versioning
        • Use warnings to evolve your code
        • Keep a Changelog
        • Writing good documentation
        • TDD
        • Abstract Syntax Trees
        • SOLID
        • Domain Driven Design
          • Repository Pattern
          • Service Layer Pattern
        • Architecture Decision Record
        • Database Architecture
        • ORM, Query Builder or Raw SQL
        • Microservices
        • Restful APIS
        • Redis
      • Frontend Development
      • Git
      • Park programming
      • Sponsor
      • Issues
    • DevOps
        • Gitea
        • Helm
          • Helm Installation
          • Helm Commands
          • Helm Secrets
          • Helm Git
        • Helmfile
        • Terraform
        • Ansible Snippets
        • Kubernetes
          • Architecture
            • Namespaces
            • Pods
            • ReplicaSets
            • Deployments
            • Horizontal Pod Autoscaling
            • Volumes
            • Services
            • Labels
            • Annotations
            • Ingress
            • Operators
            • Jobs
          • Kubectl
            • Kubectl Installation
            • Kubectl Commands
            • Metrics Server
            • Ingress Controller
            • External DNS
            • Cluster Autoscaler
            • Dashboard
            • Storage Driver
            • Vertical Pod Autoscaler
          • Networking
          • Debugging
          • Tools
            • Krew
            • Ksniff
            • Mizu
        • AWS
          • AWS Snippets
          • AWS Savings plan
          • Security groups workflow
          • EKS
          • IAM
            • IAM Commands
            • IAM Debugging
          • S3
          • WAF
      • Continuous Integration
        • Drone
          • Alex
          • Flakeheaven
          • Flake8
          • Markdownlint
          • Proselint
          • Yamllint
          • Write Good
          • Black
          • Yamlfix
          • Pyment
          • mdformat
          • Mypy
          • Safety
          • Bandit
          • Pip-tools
        • cookiecutter
        • cruft
        • renovate
      • Storage
        • NAS
        • OpenZFS
        • Monitoring Comparison
        • Prometheus
          • Architecture
          • Prometheus Operator
          • Prometheus Install
          • AlertManager
          • Blackbox Exporter
          • Elasticsearch Exporter
          • Node Exporter
          • Instance sizing analysis
          • Prometheus Troubleshooting
        • Ombi
      • API Management
        • Kong
      • Scrum
          • Refinement Template
        • CPU
        • RAM
        • Power Supply Unit
        • Pedal PC
        • Linux Snippets
        • afew
        • aleph
        • alot
        • Anki
        • ActivityWatch
        • beancount
        • Beets
        • brew
        • Docker
        • dunst
        • Dynamic DNS
        • elasticsearch
        • fail2ban
        • ferdium
        • finnix
        • Gajim
        • Github cli
        • goaccess
        • google chrome
        • Graylog
        • HAProxy
        • Hard drive health
        • Hushboard
        • hypothesis
        • i3wm
        • Jellyfin
        • ffmpeg
        • Khal
        • Kitty
        • LUKS
        • mbsync
        • mkdocs
        • Mopidy
        • monica
        • notmuch
        • nodejs
        • Oracle Database
        • Outrun
        • Postgres
        • Peek
        • Pipx
        • Profanity
        • rm
        • Libreelec
        • Rtorrent
        • Syncthing
        • Tahoe-LAFS
        • vdirsyncer
        • Vim
          • Tabs vs Buffers
          • Vim Plugins
          • Write Neovim Plugins
        • VSCodium
        • Wake on Lan
        • Wallabag
        • Wireguard
        • Wireshark
        • zip
        • Android Tips
        • GrapheneOS
          • cone
          • GadgetBridge
          • OsmAnd
          • Signal
        • Recommender Systems
        • devices
        • modules
        • hardware
        • dmesg
        • systemd
        • basic commands
        • archive
        • globbing
        • processes
        • screen_tmux
        • regex
        • vifm
        • neomutt
        • vim
        • lvim
        • tmux
        • nvimtree
        • partitions
        • filesystem
        • mounten
        • permissions
        • Piri Piri Chicken
        • peanut chicken curry
        • Five Spice Power
        • Sichuan Chili Oil
        • authentic sichuan recipes
        • stirfry
        • Dan Dan Noodles
        • Lo Mein
        • Black Bean Beef
        • Chinese Cucumber Salad
    • Contact

    Cluster Autoscaler

    While Horizontal pod autoscaling allows a deployment to scale given the resources needed, they are limited to the kubernetes existing working nodes.

    To autoscale the number of working nodes we need the cluster autoscaler.

    For AWS, there are the Amazon guidelines to enable it. But I'd use the cluster-autoscaler helm chart.

    2022-12-20
    Made with Material for MkDocs