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
On Windows systems, where system ports can be allocated by ordinary processes, this means that a service can allocate ports 80 or 443 which is generally not desirable. This issue is not normally seen on *nix systems as allocating system ports require running as root.
This can lead to puzzling behaviour as Skaffold's port-forwards listen only on localhost, which allows co-existing with another process that listens on IP_ADDRANY on the same port (such as the k8s cluster's ingress port!).
As a workaround, users can set up explicit port-forwards for the corresponding services.
Information
Operating system: Windows
Steps to reproduce the behavior
Alter Skaffold's example/typescript's k8s/deployment.yaml to use port 80
skaffold dev --port-forward
See Skaffold port-forward to port 80
The text was updated successfully, but these errors were encountered:
Thanks for raising this and the speedy change. This, along with the helm debugging support you've added over time will bring us close to "git pull, skaffold run" across a set of disparate enterprise services and charts. Much appreciated.
Our port-forwarding handling for services requests the same local port as the service port:
skaffold/pkg/skaffold/kubernetes/portforward/resource_forwarder.go
Line 144 in 66fe1c7
On Windows systems, where system ports can be allocated by ordinary processes, this means that a service can allocate ports 80 or 443 which is generally not desirable. This issue is not normally seen on *nix systems as allocating system ports require running as root.
This can lead to puzzling behaviour as Skaffold's port-forwards listen only on localhost, which allows co-existing with another process that listens on IP_ADDRANY on the same port (such as the k8s cluster's ingress port!).
As a workaround, users can set up explicit port-forwards for the corresponding services.
Information
Steps to reproduce the behavior
example/typescript
'sk8s/deployment.yaml
to use port 80skaffold dev --port-forward
The text was updated successfully, but these errors were encountered: