You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deployed todo-app and bike-sharing app and B2K works perfectly with these two apps, both in isolated and non-isolated mode.
I have my kubernetes cluster deployed in AWS EKS cluster and I am running VsCode from MAC with apple silicon.
When I try to run B2K it does not redirect the traffic.
In non-isolated mode it does not give me any error. just it does not redirect the traffic in local machine.
* Executing task: bridge-to-kubernetes.resource
Redirecting Kubernetes service api to your machine...
Target cluster: arn:aws:eks:us-west-2:<account-id>:cluster/test
Current cluster: arn:aws:eks:us-west-2:<account-id>:cluster/test
Target namespace: <namespace>
Current namespace: <namespace>
Target service name: api
Target service ports: 8080
Using kubernetes service environment variables: true
Retrieving the current context and credentials...
Validating the credentials to access the cluster...
Validating the requirements to replicate resources locally...
Redirecting traffic from the cluster to your machine...
Waiting for 'api-79cbd49f-sjztm' in namespace 'hive' to reach running state...
Deployment '<namespace>/api' patched to run agent.
Remote agent deployed in container 'api' in pod 'api-79cbd49f-sjztm'.
Preparing to run Bridge To Kubernetes configured as pod <namespace>/api-79cbd49f-sjztm ...
Connection established.
Service 'site-api' is available on 127.0.0.1:55049.
Service 'dns-gateway' is available on 127.0.0.1:55050.
Service 'pod-policy-enforcer' is available on 127.0.0.1:55051.
Service 'proxy' is available on 127.0.0.1:55052.
Service 'api' is available on 127.0.0.1:55053.
Service 'dns-gateway-lb' is available on 127.0.0.1:55054.
Container port 8080 is available at localhost:8080.
##################### Environment started. #############################################################
Run /var/folders/rw/w3jy7w895kn2bfnrq185y2t40000gq/T/tmp-650387o5JT5eBLTyn.env.cmd in your existing console to also get connected.
* Terminal will be reused by tasks, press any key to close it.
...
...
2024-05-23T12:25:00.799175Z INFO common::server: Server listening on [::]:8080
After comparing todo-app and non-working app I see in non-working app the service pod is NOT getting replaced by lpkremoteagent. It simply creates the a new pod with lpkremoteagent along with a restore pod.
I deployed todo-app and bike-sharing app and B2K works perfectly with these two apps, both in isolated and non-isolated mode.
I have my kubernetes cluster deployed in AWS EKS cluster and I am running VsCode from MAC with apple silicon.
When I try to run B2K it does not redirect the traffic.
In non-isolated mode it does not give me any error. just it does not redirect the traffic in local machine.
After comparing todo-app and non-working app I see in non-working app the service pod is NOT getting replaced by
lpkremoteagent
. It simply creates the a new pod withlpkremoteagent
along with a restore pod.bridge-library-2024-05-23-12-35-49-77973.txt
logs from restore pod:
Looking for help to debug this issue.
For isolated env I am still facing the exact same issue described here: microsoft/mindaro#192
The text was updated successfully, but these errors were encountered: