Skip to content

Simple tool to tag all Alibaba Cloud resources used in specific ACK K8s cluster.

License

Notifications You must be signed in to change notification settings

AliyunContainerService/ack-tag-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple tool to tag all Alibaba Cloud resources used in specific ACK K8s cluster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages