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
[bert] Forwarding container port 8080 ->local port http://127.0.0.1:9000
[ernie] Forwarding container port 8081 ->local port http://127.0.0.1:9001
Actual behavior
In the output below, there are four ports exposed. Two for each container. Also the second container is exposed correctly because the first container used the port. As I add more services that are port forwarded, this problem increases.
$ skaffold dev
WARN[0000] failed to detect active kubernetes cluster node platform. Specify the correct build platform in the `skaffold.yaml` file or using the `--platform` flag subtask=-1 task=DevLoop
Generating tags...
- bert -> bert:bc4100080
- ernie -> ernie:bc4100080
Checking cache...
- bert: Found Locally
- ernie: Found Locally
Tags used in deployment:
- bert -> bert:ccb36787e044aaf4fc46cc0b3282771c73724e7405da67e4794e91cf25317644
- ernie -> ernie:a85231d544a06b0bbdbe8c7603b3b14488f8611f952148a4d6b37d1ee46830a2
Starting deploy...
[bert] Forwarding container port 8080 ->local port http://127.0.0.1:9000
[bert] Forwarding container port 8081 ->local port http://127.0.0.1:9001
[ernie] Forwarding container port 8080 ->local port http://127.0.0.1:9002
[ernie] Forwarding container port 8081 ->local port http://127.0.0.1:9003
Listing files to watch...
- bert
- ernie
Press Ctrl+C to exit
Watching for changes...
[ernie] Hey there Bert!
[bert] Oh hey Ernie.
I am seeing the same/similar issue reported in https://stackoverflow.com/q/73533579.
Look there for more details.
Expected behavior
Given the following config, I expect two ports to be forwarded. One for bert and one for ernie.
Expected output
Actual behavior
In the output below, there are four ports exposed. Two for each container. Also the second container is exposed correctly because the first container used the port. As I add more services that are port forwarded, this problem increases.
Information
https://github.com/jcscottiii/skaffold/blob/1a747b1b32c7a70d3f0f733374cd1526dbf34828/examples/docker-deploy/skaffold.yaml
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: