rgglez / aliyun-tools

Misc tools for "devops" in Aliyun (Alibaba Cloud)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aliyun-tools

License: GPL v3 GitHub all releases GitHub issues GitHub commit activity

Misc tools for "devops" in Aliyun (Alibaba Cloud).

check-function-acceleration-status.py

Checks the status of the Image Acceleration process of a Function Compute container, after you updated the function with a new container (from the Personal Edition of the ECS, for instance). It presents an indicator while the image is preparing.

It takes these parameters:

  • -f <function> the FC function name. Required.
  • -s <service> the FC service name. Required.
  • -t <seconds> the time in seconds between checks. Optional. Default: 2 seconds.

Examples:

python3 check-function-acceleration-status.py -s MyCoolService -f wipe-data
python3 check-function-acceleration-status.py -s MyCoolService -f restore-backup -t 5

See the source code for dependencies.

About

Misc tools for "devops" in Aliyun (Alibaba Cloud)

License:GNU General Public License v3.0


Languages

Language:Python 100.0%