Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appuio/container-aks-maintenance
https://github.com/appuio/container-aks-maintenance
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/appuio/container-aks-maintenance
- Owner: appuio
- License: bsd-3-clause
- Created: 2021-04-12T07:41:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T08:35:43.000Z (about 2 months ago)
- Last Synced: 2024-11-12T09:28:34.589Z (about 2 months ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 1
- Watchers: 12
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# container-aks-maintenance
[![Build Status](https://img.shields.io/github/workflow/status/appuio/container-aks-maintenance/Main)](https://github.com/appuio/container-aks-maintenance/actions/workflows/main.yaml)
[![License](https://img.shields.io/github/license/appuio/container-aks-maintenance.svg)](https://github.com/appuio/container-aks-maintenance/blob/master/LICENSE)`aks-maintenance` in a container image that can be used to do AKS Node Maintenance based on [AKS Node Maintenance](https://kb.vshn.ch/rancher/how-tos/aks_node_maintenance.html)
The built images are available from
* [Docker Hub](https://hub.docker.com/r/appuio/aks-maintenance)
* [Quay.io](https://quay.io/repository/appuio/aks-maintenance)## Contents
- `az` CLI
- `updateNodes.sh`> [APPUiO](https://appuio.ch) -
> GitHub [@appuio](https://github.com/appuio) -
> Twitter [@appuio](https://twitter.com/appuio)## Usage
### Nodepool image upgrade
```bash
docker run -it docker.io/appuio/aks-maintenance: updateNodes.sh -r -c -n [-t ] [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
```console
make docker-build
```