Back to Autoscaler

README

cluster-autoscaler/cloudprovider/azure/examples/dev/README.md

latest865 B
Original Source

Overview:

This document, and directory are focused on the ability to deploy and test a working version of autoscaler from a development branch onto an AKS cluster for testing out a set of changes.

Steps:

  1. Create a codespace using one of the devcontainer setups from the devcontainers branch of https://github.com/azure/autoscaler

  2. In the codespace switch to whatever branch you want to test

    • Note: for testing an upstream branch use: git checkout upstream/<branch-name>
      • This might require a git fetch upstream
  3. run cd cluster-autoscaler/cloudprovider/azure/examples/dev

  4. run az login

  5. run ./aks-dev-deploy.sh

  6. run cd ../../../../

  7. run skaffold run --filename cloudprovider/azure/examples/dev/skaffold.yaml

  8. inspect the cluster with kubectl, and scale the inflate deployment for testing as desired.