Skip to content

cloudacademy/aks-flp-crud

 
 

Repository files navigation

aks-flp-crud

This is a set of scripts and tools use to generate a docker image that will have the aks-flp-crud binary used to evaluate your AKS troubleshooting skill.

It uses the shc_script_converter.sh (build using the following tool https://github.com/neurobin/shc) to abstract the lab scripts on binary format and then the use the Dockerfile to pack everyting on a Ubuntu container with az cli and kubectl.

Any time the labs script require an update the github actions can be use to trigger a new build and push of the updated image. This will take care of building a new script binary as well as new docker image that will get pushed to the corresponding registry. The actions will get triggered any time a new release gets published.

Here is the general usage for the image and aks-flp-crud tool:

Run in docker: docker run -it sturrent/aks-flp-crud:latest

aks-flp-crud tool usage:

$ aks-flp-crud -h
aks-flp-crud usage: aks-flp-crud -l <LAB#> -u <USER_ALIAS> [-v|--validate] [-r|--region] [-s|--sku] [-h|--help] [--version]

Here is the list of current labs available:
*************************************************************************************
*        1. AKS scale failed
*        2. AKS delete failed
*        3. AKS upgrade failed
*************************************************************************************

"-l|--lab" Lab scenario to deploy (3 possible options)
"-u|--user" User alias to add on the lab name
"-r|--region" region to create the resources
"-s|--sku" nodes SKU
"-v|--validate" validate resolution
"--version" print version of the tool
"-h|--help" help info

About

Automation for aks-flp-crud labs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.7%
  • Dockerfile 4.3%