https://github.com/aliyuncontainerservice/ack-tag-tool
Simple tool to tag all Alibaba Cloud resources used in specific ACK K8s cluster.
https://github.com/aliyuncontainerservice/ack-tag-tool
ack kubernetes
Last synced: 2 months ago
JSON representation
Simple tool to tag all Alibaba Cloud resources used in specific ACK K8s cluster.
- Host: GitHub
- URL: https://github.com/aliyuncontainerservice/ack-tag-tool
- Owner: AliyunContainerService
- License: apache-2.0
- Created: 2020-10-02T03:50:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-07T04:35:01.000Z (over 5 years ago)
- Last Synced: 2026-04-21T09:52:03.991Z (2 months ago)
- Topics: ack, kubernetes
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ACK Tag Tool
Tag all Alibaba Cloud resources used in specific ACK Kubernetes cluster
# Setup
```
pip3 install -r requirements.txt
```
# Usage
Set environment variables for AK
```
export ACCESS_KEY_ID=xxxxxx
export ACCESS_KEY_SECRET=xxxxxx
```
Check resource tag for specific ACK K8s cluster
```
python3 main.py --cluster_id=xxxxxx --region=cn-beijing --key=test-key --value=test-value
```
Tag resource for specific ACK K8s cluster
```
python3 main.py --cluster_id=xxxxxx --region=cn-beijing --key=test-key --value=test-value -s
```
Untag resource for specific ACK K8s cluster
```
python3 main.py --cluster_id=xxxxxx --region=cn-beijing --key=test-key -s -u
```