Sign inSign up

yoffa/instance-scheduler

By yoffa

•Updated about 2 years ago

Docker images for the maintain cloud some instance.

Image
API management
Databases & storage
Monitoring & observability
0

453

yoffa/instance-scheduler repository overview

⁠instance schedular docker image

this container image are quickly way to maintain various type of instance on the your own cloud like kubernetes, vm, database etc.

⁠features

this container provide the functions almost for the cost optimization purpuse.
for the details, see below funtion list tables.

typefunction namedescription
VMStartstart instance
VMStopstop instance
kubernetesStartstart kubernetes cluster by proivding autoscale setting.
kubernetesStopstop all instances on the specific cluster.
databaseStartstart database instance.
databaseStopstop database instance.
databaseAutoScaleauto change database instance machine type following cpu metrics.

the bellow funtions only trigger at the specific conditions.
you can set the fllow conditions.

namedescription
durationenable funtion during the start datetime to the end datetime

⁠Example

the follow example config file are able to execute this container property.

items:
- item_type:
    type: Compute
    project_id: xxxxx
    location: us-xxxx
    instance_name: instance-name
    op: START
    is_wait: true
- item_type:
    type: Compute
    project_id: xxxxx
    location: us-xxxxx
    instance_name: instance-name
    op: STOP
    is_wait: true
  available_day_type: All
  available_day_timezone: +0900
  duration: # utc
    timezone: +0000
    start_datetime: 07:00:00
    end_datetime: 18:00:00

Tag summary

Content type

Image

Digest

sha256:45ec7fda1…

Size

17.2 MB

Last updated

about 2 years ago

docker pull yoffa/instance-scheduler:20240731-192633