Skip to content

Conversation

@simonrw
Copy link
Contributor

@simonrw simonrw commented Dec 11, 2025

Motivation

When using our kubernetes dev command to generate the config/override files for a k3d cluster, it dumps the files to disk and prints the commands needed to the terminal. The next step for the user is then to copy and paste those commands from their terminal and wait for them.

Wouldn't it be nice to have a single command that deploys the cluster and LocalStack at the same time?

Changes

  • add an -x/--execute flag to the CLI (which implies the --write flag) which executes the commands

# Motivation

When using our kubernetes dev command to generate the config/override files for a k3d cluster, it dumps the files to disk and prints the commands needed to the terminal. The next step for the user is then to copy and paste those commands from their terminal and wait for them.

Wouldn't it be nice to have a single command that deploys the cluster and LocalStack at the same time?

# Changes

* add an `-x/--execute` flag to the CLI (which implies the `--write` flag) which executes the commands
@simonrw simonrw added semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes labels Dec 11, 2025
@github-actions
Copy link

Test Results - Preflight, Unit

23 001 tests  ±0   21 158 ✅ ±0   6m 21s ⏱️ -56s
     1 suites ±0    1 843 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit a8b76d0. ± Comparison against base commit ca6b22b.

@github-actions
Copy link

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 3s ⏱️ -7s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit a8b76d0. ± Comparison against base commit ca6b22b.

@github-actions
Copy link

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 34m 46s ⏱️
5 521 tests 4 965 ✅ 556 💤 0 ❌
5 527 runs  4 965 ✅ 562 💤 0 ❌

Results for commit a8b76d0.

@simonrw simonrw requested a review from a team December 11, 2025 18:22
@github-actions
Copy link

LocalStack Community integration with Pro

    2 files      2 suites   1h 56m 15s ⏱️
5 141 tests 4 745 ✅ 396 💤 0 ❌
5 143 runs  4 745 ✅ 398 💤 0 ❌

Results for commit a8b76d0.

Copy link
Member

@pinzon pinzon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement 👍

@simonrw simonrw merged commit ee8518d into main Dec 12, 2025
55 checks passed
@simonrw simonrw deleted the dev/add-execute-to-kubernetes-script branch December 12, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants