fix: default skip-cluster-management to true
Destroying the kind cluster on stop/start is almost never the intent. The cluster holds PVs, ConfigMaps, and networking state that are expensive to recreate. Default to preserving the cluster; pass --perform-cluster-management explicitly when a full teardown is needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>fix/kind-mount-propagation
parent
806c1bb723
commit
cc6acd5f09
|
|
@ -114,7 +114,7 @@ def up(ctx, stay_attached, skip_cluster_management, extra_args):
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--skip-cluster-management/--perform-cluster-management",
|
"--skip-cluster-management/--perform-cluster-management",
|
||||||
default=False,
|
default=True,
|
||||||
help="Skip cluster initialization/tear-down (only for kind-k8s deployments)",
|
help="Skip cluster initialization/tear-down (only for kind-k8s deployments)",
|
||||||
)
|
)
|
||||||
@click.argument("extra_args", nargs=-1) # help: command: up <service1> <service2>
|
@click.argument("extra_args", nargs=-1) # help: command: up <service1> <service2>
|
||||||
|
|
@ -132,7 +132,7 @@ def start(ctx, stay_attached, skip_cluster_management, extra_args):
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--skip-cluster-management/--perform-cluster-management",
|
"--skip-cluster-management/--perform-cluster-management",
|
||||||
default=False,
|
default=True,
|
||||||
help="Skip cluster initialization/tear-down (only for kind-k8s deployments)",
|
help="Skip cluster initialization/tear-down (only for kind-k8s deployments)",
|
||||||
)
|
)
|
||||||
@click.argument("extra_args", nargs=-1) # help: command: down <service1> <service2>
|
@click.argument("extra_args", nargs=-1) # help: command: down <service1> <service2>
|
||||||
|
|
@ -151,7 +151,7 @@ def down(ctx, delete_volumes, skip_cluster_management, extra_args):
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--skip-cluster-management/--perform-cluster-management",
|
"--skip-cluster-management/--perform-cluster-management",
|
||||||
default=False,
|
default=True,
|
||||||
help="Skip cluster initialization/tear-down (only for kind-k8s deployments)",
|
help="Skip cluster initialization/tear-down (only for kind-k8s deployments)",
|
||||||
)
|
)
|
||||||
@click.argument("extra_args", nargs=-1) # help: command: down <service1> <service2>
|
@click.argument("extra_args", nargs=-1) # help: command: down <service1> <service2>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue