Autoscaling components for Kubernetes
Go to file
Maciek Pytel 9831623810 Set different hostname label for upcoming nodes
Function copying template node to use for upcoming nodes was
not chaning hostname label, meaning that features relying on
this label (ex. pod antiaffinity on hostname topology) would
treat all upcoming nodes as a single node.
This resulted in triggering too many scale-ups for pods
using such features. Analogous function in binpacking didn't
have the same bug (but it didn't set unique UID or pod names).
I extracted the functionality to a util function used in both
places to avoid the two functions getting out of sync again.
2021-02-12 19:41:04 +01:00
.github Test and verify using Git Actions 2021-02-02 20:19:16 +01:00
addon-resizer fix makefile 2020-05-28 22:55:51 -07:00
builder Update golang version used in docker builds 2020-07-02 16:22:51 +02:00
charts CA-Chart - Mark Cluster-Autoscaler-Chart as Deprecated 2021-01-26 22:30:03 +00:00
cluster-autoscaler Set different hostname label for upcoming nodes 2021-02-12 19:41:04 +01:00
hack Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
vertical-pod-autoscaler Merge pull request #3810 from bskiba/master 2021-01-22 06:21:28 -08:00
.gitignore Move GPULabel and GPUTypes to cloud provider 2019-03-25 13:03:01 -07: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 Update owners files for autoscaling 2018-08-21 17:50:40 +02:00
README.md docs(README): Updating / adding Helm chart docs 2020-07-23 08:20:15 +02: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

Build Status 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. Works with GCP, AWS and Azure. 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.