Bridge-To-Kubernetes icon indicating copy to clipboard operation
Bridge-To-Kubernetes copied to clipboard

Support containerized workloads to remove the need for elevated permissions

Open hsubramanianaks opened this issue 1 year ago • 2 comments

This is a feature to support containerized workloads which would run user's workload in containers like docker and local agent would run in the same container/ same network using docker compose. Port forward happens from user's workload to local agent to remote agent running the k8s cluster and vice versa.

Pros:

  • Eliminates the need of elevated permissions
  • Doesn't harm local machines configurations
  • Resolves conflicts with services already running in any port which B2K might allocate ex: port 80, 443.

Cons:

  • user workloads need to be containerized in local, ex: running in a container in docker
  • use of devcontainer.json is required to make this work. sample PR here and about devcontainers for vscode here
  • Find an alternative way to solve this for VS users - In progress.

hsubramanianaks avatar May 09 '23 17:05 hsubramanianaks