Skip to content

appuio/container-aks-maintenance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

container-aks-maintenance

Build Status License

aks-maintenance in a container image that can be used to do AKS Node Maintenance based on AKS Node Maintenance

The built images are available from

Contents

  • az CLI
  • updateNodes.sh

APPUiO - GitHub @appuio - Twitter @appuio

Usage

Nodepool image upgrade

docker run -it docker.io/appuio/aks-maintenance: updateNodes.sh -r <resource-group> -c <cluster-name> -n <nodepool-name> [-t <tenant-id>] [apply]

Sample Output:

docker run -it docker.io/appuio/aks-maintenance updateNodes.sh -r xxxx -c xxxx -n workers -t xxxxx
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code xxxxxxx to authenticate.
The following tenants don't contain accessible subscriptions. Use 'az login --allow-no-subscriptions' to have tenant level access.
xxxx
[
  {
    "cloudName": "AzureCloud",
    "homeTenantId": "xxxx",
    "id": "xxxx",
    "isDefault": true,
    "managedByTenants": [],
    "name": "xxxx",
    "state": "Enabled",
    "tenantId": "xxxx",
    "user": {
      "name": "xxxx",
      "type": "user"
    }
  }
]
Checking nodepool image upgrade
  Resource group: 'xxxx'
  Cluster name: 'xxxx'
  Nodepool: 'workers'

Latest nodepool image version: 'AKSUbuntu-1804-2021.03.29'
Curent nodepool image version: 'AKSUbuntu-1804-2021.02.17'

-> Nodepool image upgrade required
-> please add apply to your command to upgrade

Build the image

make docker-build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •