`lstk stop` leaves emulator-managed containers running (Azure)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 57/100
調査の方向性
Start at the lstk stop command entry point and trace how it shuts down the Azure emulator; the issue does not name source files or tests. Check how the emulator creates and identifies its resource containers and networks. Done means stopping removes those resources, or offers a flag to do so, and the reproduction steps leave no emulator-managed containers or networks running.
索引モデルが issue の本文から書いたものです。
説明
Thanks for lstk. Starting, stopping and switching az interception is very smooth.
After lstk stop, the Azure emulator container stops, but the containers it created for resources keep running:
- k3d cluster containers for AKS (server, load balancer, agents) and their
k3d-*Docker networks ls-<sqlserver>-*(SQL Server)ls-storage-*(Azurite)ls-<functionapp>-*(Functions),ls-dns-server,ls-tcp-forwarder
The emulator doesn't keep Azure state across a restart, so these containers are no longer managed and keep using memory. In one case, a cluster was left with its server and load balancer but no agent nodes.
Steps to reproduce
lstk start- Create an AKS cluster, a SQL server, a storage account and a function app.
lstk stop- Run
docker ps.
Expected: lstk stop removes the containers and networks the emulator created, or offers a flag to do so.
Workaround:
docker rm -f $(docker ps -aq --filter name=^ls- --filter name=^k3d-)
docker network rm $(docker network ls -q --filter name=^k3d-)
Environment: lstk 1.4.0, Windows 11 with WSL (Ubuntu), Docker Engine.
- 主要言語
- Go
- スター
- 38
- フォーク
- 8
- 平均マージ
- 21時間 41分
- マージ済み PR(30日)
- 32
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
localstack/lstk のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
localstack/lstk#538 ·
メンテナーはふだん 1 日以内に返信
localstack/lstk の issue をすべて見る
似ている issue
-
Named Tuple element with a space in its name fails to parse対応中かも @spicysharkco が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ClickHouse/clickhouse-go#2073 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
ci: nothing regenerates the Go contract types, so a hand-edit to types.gen.go passes対応中かも @shaiknoorullah が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
shaiknoorullah/hg-mono#993 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CarlosDanielDev/aiacc#78 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100