Skip to main content

swautoscale

description

docker-compose.yml 파일 실행후 사이트 부하에 따라 자동으로 운용 도커의 스케일을 늘렸다 줄였다 하는 프로그램

사용법

패키지가 설치되는 곳에서 docker-compose.yml 파일을 실행 패키지 설치 위치는 autoscale 명령어를 사용하면 출력되는 로그 생성 위치와 동일

# 패키지 위치 찾기 위해 실행 
$ autoscale 
패키지 설치된 위치: ~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/k1s
log 저장되는 곳 : ~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/k1s/dockerlog.log

# 패키지 위치로 이동 
$ cd  ~/.pyenv/versions/3.11.9/lib/python3.11/site-packages/k1s

# 파일 실행 
$ docker compose up -d --force-recreate --build
 

기능

자동으로 autoscale

$ autoscale

수동으로 스케일 out

# o + 늘릴 스케일 수 
$ o 1  

수동으로 스케일 in

# o + 줄일 스케일 수 
$ o 1  

내장된 부가기능

(1) LINE_API_KEY 환경변수 설정시 스케일 인/아웃시 메세지 전송 기능

Metadata

Release files for swautoscale 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swautoscale 0.2.0
File Size Uploaded Provenance Actions
swautoscale-0.2.0.tar.gz 14.4 kB Without provenance Details for swautoscale-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swautoscale 0.2.0
File Interpreter ABI Platform Actions
swautoscale-0.2.0-py3-none-any.whl Python 3 none any Details for swautoscale-0.2.0-py3-none-any.whl

Total release size: 29.5 kB

Release files / swautoscale-0.2.0.tar.gz

Download URL swautoscale-0.2.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6c00881793e14cd31ecfe540cfb9d255a939ad7b54e3069ed0bdb3ee964b41cb
BLAKE2b-256 checksum
How to use checksums
40c91a9cccd397d400e5722df9dfb3a3d3f55edca88e0f21de75432dc619c887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.18.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2

Release files / swautoscale-0.2.0-py3-none-any.whl

Download URL swautoscale-0.2.0-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b4c72cd721eb44081244da05dfe04781964a168e85ba3cf805a5ae3c5241fa2
BLAKE2b-256 checksum
How to use checksums
2fae8bfbc5887cbc756a09d01036cbbb3acbc6b7efe78c8d24640640159a8573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.18.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2

Security for swautoscale 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page