All Projects → atlassian → Escalator

atlassian / Escalator

Licence: apache-2.0
Escalator is a batch or job optimized horizontal autoscaler for Kubernetes

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Escalator

Ladder
A general purpose extensible autoscaler for the cloud
Stars: ✭ 143 (-73.47%)
Mutual labels:  aws, scale, autoscaling
magento-cluster
Highly Available and Auto-scalable Magento Cluster
Stars: ✭ 21 (-96.1%)
Mutual labels:  cluster, scaling, autoscaling
Replicator
Automated Cluster and Job Scaling For HashiCorp Nomad
Stars: ✭ 166 (-69.2%)
Mutual labels:  aws, autoscaling, scaling
Magento-2-aws-cluster-terraform
Magento 2 AWS autoscaling cluster with Terraform and Packer or ImageBuilder. Adobe Commerce Cloud alternative. The best ecommerce infrastructure. Drive more sales online. Transparent billing. Developer-friendly. No hidden bottlenecks.
Stars: ✭ 107 (-80.15%)
Mutual labels:  cluster, autoscaling
Terraform Aws Autoscaling
Terraform module which creates Auto Scaling resources on AWS
Stars: ✭ 166 (-69.2%)
Mutual labels:  aws, autoscaling
Aws Ec2 Assign Elastic Ip
Automatically assign Elastic IPs to AWS EC2 Auto Scaling Group instances
Stars: ✭ 172 (-68.09%)
Mutual labels:  aws, autoscaling
Gardener
Kubernetes-native system managing the full lifecycle of conformant Kubernetes clusters as a service on Alicloud, AWS, Azure, GCP, OpenStack, EquinixMetal, vSphere, MetalStack, and Kubevirt with minimal TCO.
Stars: ✭ 2,093 (+288.31%)
Mutual labels:  aws, cluster
laniakea
Laniakea is a utility for managing instances at various cloud providers and aids in setting up a fuzzing cluster.
Stars: ✭ 28 (-94.81%)
Mutual labels:  cluster, scaling
kubernetes-vmware-autoscaler
Kubernetes autoscaler for vsphere
Stars: ✭ 33 (-93.88%)
Mutual labels:  cluster, autoscaling
easy qsub
Easily submitting multiple PBS jobs or running local jobs in parallel. Multiple input files supported.
Stars: ✭ 26 (-95.18%)
Mutual labels:  cluster, batch
scaling-nodejs
📈 Scaling Node.js on each X, Y and Z axis using Node.js Native Modules, PM2, AWS , Load Balancers, AutoScaling, Nginx, AWS Cloudfront
Stars: ✭ 73 (-86.46%)
Mutual labels:  scaling, autoscaling
Arvados
An open source platform for managing and analyzing biomedical big data
Stars: ✭ 274 (-49.17%)
Mutual labels:  aws, cluster
Autospotting
Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.
Stars: ✭ 2,014 (+273.65%)
Mutual labels:  aws, autoscaling
Cluster Lifecycle Manager
Cluster Lifecycle Manager (CLM) to provision and update multiple Kubernetes clusters
Stars: ✭ 200 (-62.89%)
Mutual labels:  aws, cluster
Aws Sdk Perl
A community AWS SDK for Perl Programmers
Stars: ✭ 153 (-71.61%)
Mutual labels:  aws, autoscaling
Temps
λ A selfhostable serverless function runtime. Inspired by zeit now.
Stars: ✭ 15 (-97.22%)
Mutual labels:  scale, cluster
Serverless Dynamodb Autoscaling
Serverless Plugin for Amazon DynamoDB Auto Scaling configuration.
Stars: ✭ 142 (-73.65%)
Mutual labels:  aws, scaling
Cwh
Amazon Web Services CloudWatch Logs Handler for Monolog library
Stars: ✭ 291 (-46.01%)
Mutual labels:  aws, batch
gce-cache-cluster
Easy groupcache clustering on GCE
Stars: ✭ 32 (-94.06%)
Mutual labels:  cluster, autoscaling
Jaas
Run jobs (tasks/one-shot containers) with Docker
Stars: ✭ 291 (-46.01%)
Mutual labels:  batch, cluster

Escalator

Godoc Build Status Go Report Card license

Escalator is a batch or job optimized horizontal autoscaler for Kubernetes

It is designed for large batch or job based workloads that cannot be force-drained and moved when the cluster needs to scale down - Escalator will ensure pods have been completed on nodes before terminating them. It is also optimised for scaling up the cluster as fast as possible to ensure pods are not left in a pending state.

Key Features

  • Calculate requests and capacity to determine whether to scale up, down or to stay at the current scale
  • Waits until non-daemonset pods on nodes have completed before terminating the node
  • Designed to work on selected auto-scaling groups to allow the default Kubernetes Autoscaler to continue to scale service based workloads
  • Automatically terminate oldest nodes first
  • Support for slack space to ensure extra space in the event of a spike of scheduled pods
  • Does not terminate or factor cordoned nodes into calculations - allows cordoned nodes to persist for debugging
  • Support for different cloud providers - AWS only at the moment
  • Scaling and utilisation metrics
  • Leader election so you can run a HA Deployment inside a cluster.
  • Basic support for multiple different types of instances in a Node Group.

The need for this autoscaler is derived from our own experiences with very large batch workloads being scheduled and the default autoscaler not scaling up the cluster fast enough. These workloads can't be force-drained by the default autoscaler and must complete before the node can be terminated.

Planned Features & Development Roadmap

  • #93 - Add option to perform a drain before terminating a node
  • #60 - Add additional metrics
  • #71 - Generate unique ID for each scale activity

Documentation and Design

See Docs

Requirements

  • Kubernetes version 1.8+. Escalator has been tested and deployed on 1.8+ and newer. Older versions of Kubernetes may have bugs or issues that will prevent it from functioning properly.
  • Go version 1.12+ with GO111MODULE=on, but Go 1.13+ is highly recommended as Escalator uses go modules for dependencies.
  • Dependencies and their locked versions can be found in go.mod and go.sum.

Building

# If using Go 1.12 make sure to enable Go modules support. For Go 1.13 you can ignore this
export GO111MODULE=on
# Fetch dependencies and build Escalator
make build

How to run - Quick Start

Locally (out of cluster)

go run cmd/main.go --kubeconfig=~/.kube/config --nodegroups=nodegroups_config.yaml

Deployment (in cluster)

See Deployment for full Deployment documentation.

# Build the docker image
docker build -t atlassian/escalator .

# Create RBAC configuration
kubectl create -f docs/deployment/escalator-rbac.yaml

# Create config map - modify to suit your needs
kubectl create -f docs/deployment/escalator-cm.yaml

# Create deployment
kubectl create -f docs/deployment/escalator-deployment.yaml

Configuring

See Configuration

Testing

make test

Test a specific package

For example, to test the controller package:

go test ./pkg/controller

Contributors

Pull requests, issues and comments welcome. For pull requests:

  • Add tests for new features and bug fixes
  • Follow the existing style (we are using goreturns to format and lint escalator)
  • Separate unrelated changes into multiple pull requests

See the existing issues for things to start contributing.

For bigger changes, make sure you start a discussion first by creating an issue and explaining the intended change.

Atlassian requires contributors to sign a Contributor License Agreement, known as a CLA. This serves as a record stating that the contributor is entitled to contribute the code/documentation/translation to the project and is willing to have it used in distributions and derivative works (or is willing to transfer ownership).

Prior to accepting your contributions we ask that you please follow the appropriate link below to digitally sign the CLA. The Corporate CLA is for those who are contributing as a member of an organization and the individual CLA is for those contributing as an individual.

License

Copyright (c) 2018 Atlassian and others. Apache 2.0 licensed, see LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].