Autoscaling components for Kubernetes
Go to file
Kuba Tużnik f67db627e2 CA: rename ClusterSnapshot AddPod, RemovePod, RemoveNode
RemoveNode is renamed to RemoveNodeInfo for consistency with other
NodeInfo methods.

For DRA, the snapshot will have to potentially allocate ResourceClaims
when adding a Pod to a Node, and deallocate them when removing a Pod
from a Node. This will happen in new methods added to ClusterSnapshot
in later commits - SchedulePod and UnschedulePod. These new methods
should be the "default" way of moving pods around the snapshot going
forward.

However, we'll still need to be able to add and remove pods from the
snapshot "forcefully" to handle some corner cases (e.g. expendable pods).
AddPod is renamed to ForceAddPod, and RemovePod to ForceRemovePod to
highlight that these are no longer the "default" methods of moving pods
around the snapshot, and are bypassing something important.
2024-11-19 15:28:21 +01:00
.github Added Ignore option in depandabot.yaml to ignore golang rc versions. 2024-07-23 16:07:55 +05:30
addon-resizer Add raywainman to reviewers in addon-resizer 2024-09-04 21:57:09 -04:00
balancer Update Auto Labels of Subprojects 2024-02-05 23:00:59 +00:00
builder Bump kubernetes deps to v1.32.0-alpha.0 2024-10-18 15:48:59 +02:00
charts Improvement: Added service.clusterIP 2024-11-01 15:57:58 +05:30
cluster-autoscaler CA: rename ClusterSnapshot AddPod, RemovePod, RemoveNode 2024-11-19 15:28:21 +01:00
hack Upgrade OCI providers SDK to v65.75.2. 2024-10-11 15:22:42 -07:00
multidimensional-pod-autoscaler Fixed the TOC of Multi-dimensional Pod Autoscaler AEP. 2024-01-10 13:07:47 +05:30
vertical-pod-autoscaler Fix typo in error message 2024-11-15 21:25:03 +02:00
.gitignore Modify the e2e local scripts so they can be run on a modern Mac 2024-11-04 08:22:53 +02:00
.pre-commit-config.yaml Update helm-docs version and add PR action to ensure docs are updated 2020-10-07 23:53:33 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-07-18 11:02:10 +05:30
LICENSE Top level readme and license 2017-04-18 17:05:03 +02:00
OWNERS Clean up stale OWNERS 2022-09-30 12:28:23 +02:00
README.md docs: replaces Travis CI badge with GitHub Actions badges 2021-07-13 10:20:32 -07:00
SECURITY_CONTACTS Update embargo doc link in SECURITY_OWNERS and changes PST to PSC 2019-03-08 10:23:48 -07:00
code-of-conduct.md Add code-of-conduct.md 2017-12-20 13:31:27 -05:00

README.md

Kubernetes Autoscaler

Release Charts Tests GoDoc Widget

This repository contains autoscaling-related components for Kubernetes.

What's inside

Cluster Autoscaler - a component that automatically adjusts the size of a Kubernetes Cluster so that all pods have a place to run and there are no unneeded nodes. Supports several public cloud providers. Version 1.0 (GA) was released with kubernetes 1.8.

Vertical Pod Autoscaler - a set of components that automatically adjust the amount of CPU and memory requested by pods running in the Kubernetes Cluster. Current state - beta.

Addon Resizer - a simplified version of vertical pod autoscaler that modifies resource requests of a deployment based on the number of nodes in the Kubernetes Cluster. Current state - beta.

Charts - Supported Helm charts for components above.

Contact Info

Interested in autoscaling? Want to talk? Have questions, concerns or great ideas?

Please join us on #sig-autoscaling at https://kubernetes.slack.com/, or join one of our weekly meetings. See the Kubernetes Community Repo for more information.

Getting the Code

Fork the repository in the cloud:

  1. Visit https://github.com/kubernetes/autoscaler
  2. Click Fork button (top right) to establish a cloud-based fork.

The code must be checked out as a subdirectory of k8s.io, and not github.com.

mkdir -p $GOPATH/src/k8s.io
cd $GOPATH/src/k8s.io
# Replace "$YOUR_GITHUB_USERNAME" below with your github username
git clone https://github.com/$YOUR_GITHUB_USERNAME/autoscaler.git
cd autoscaler

Please refer to Kubernetes Github workflow guide for more details.