Skip to content

feat(local): dual providers, named clusters, workspace→cluster bind - #93

Open
patrickleet wants to merge 5 commits into
feat/kind-hostpath-extramountsfrom
feat/lwb-cp-dp-providers
Open

feat(local): dual providers, named clusters, workspace→cluster bind#93
patrickleet wants to merge 5 commits into
feat/kind-hostpath-extramountsfrom
feat/lwb-cp-dp-providers

Conversation

@patrickleet

Copy link
Copy Markdown
Collaborator

Summary

Residual epic apply for [[tasks/local-workbench-epic]] waves B–D (plus delivery selection proof):

  • --cluster-provider / --cp + --docker-provider / --dp (kind+dory preferred Mac hostPath)
  • Deprecated --backend still maps 1:1
  • --cluster-name for named kind clusters (kind-<name> context)
  • Workspace registry clusterName/kubeContext sticky binding + --rebind-cluster
  • status / up show cluster binding

Stack

Layer Branch PR
0 fix/workbench-preserve-shared-identity-ns #90
1 feat/kind-hostpath-extramounts #92
2 feat/lwb-cp-dp-providers (this) #92

Test plan

Wave B–D residual for local-workbench epic:

- --cluster-provider/--cp and --docker-provider/--dp with --backend alias
- providers.json persist; apply_docker_provider_env for dory sock
- named kind clusters via --cluster-name (context kind-<name>)
- workspace registry clusterName/kubeContext + sticky rebind policy
- status/up surface cluster binding; unit tests for pure logic

Stacked on feat/kind-hostpath-extramounts (PR #92).
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 10685e19-7b45-4ef8-8929-7628e0ca5b4a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…/open

When --cluster-name is omitted, keep the workspace's bound cluster instead of
comparing against the process default. Activate bound kube context before
kubectl in status/down/open. Unit test covers sticky None request.
Mount $HOME/dev (or HOPS_KIND_EXTRA_MOUNT) instead of entire $HOME to avoid
kube-proxy EMFILE on large Mac trees. After create, raise node inotify
max_user_instances/watches so kind stays healthy with hostPath mounts.

Live proof: hostPath UI on kind-hops Vite ready; host write visible in pod.
--rebind-cluster updates kubeContext even when cluster name is unchanged
(stale dory → kind-hops). Keep $HOME/dev mount default + inotify sysctl.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant