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
az
CLIupdateNodes.sh
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
make docker-build