How to enable and use mirrord in Intellije availe remotely on WSL2 #2375
Unanswered
SanadhyaLakshya
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Hi! Sorry about the troubles. Can you try the following mirrord config file? {
"kubeconfig": "/home/ls/.kube/config",
"feature": {
"network": {
"incoming": {
"mode": "steal",
"ignore_ports": [1099]
},
"outgoing": {
"filter": {
"local": [":1099"]
}
}
},
"fs": "read",
"env": true
},
"target": {
"path": "pod/portal-service-0",
"namespace": "iem"
},
"agent": {
"namespace": "iem"
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes the remote service is listening on the same port .. ie the tomcat is running on the same port in remote pod |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a service and several pods deployed via a Helm chart in a WSL2 environment. I need to redirect all incoming traffic from one specific pod to a codebase running in IntelliJ IDEA, where I have installed the Mirrord plugin. However, I am encountering an issue when i enable the mirrord plugin When attempting to start the server, I receive the following error message: "Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099.".. when i disable the mirrod plugin the service is deployed properly on tomcat ..
This is my mirrord config: { "kubeconfig": "/home/ls/.kube/config", "feature": { "network": { "incoming": "steal", "outgoing": true }, "fs": "read", "env": true }, "target": { "path": "pod/portal-service-0", "namespace": "iem" }, "agent": { "namespace": "iem" } }
and my tomcat configuration is attached in image
How can steal all the incoming and outcoming traffic from mirrord.. while debuug the java app locally in tomcat? Could you please Suggest?
Beta Was this translation helpful? Give feedback.
All reactions