Open sebastianttr opened 1 year ago
Hi @sebastianttr Thank you for creating this issue. Can I know What the last working skaffold version(no lagging) is? I just released v2.7.1 yesterday, was wondering if some changes introduced between v2.7.0 and v2.7.1 are causing this.
Hi @sebastianttr Thank you for creating this issue. Can I know What the last working skaffold version(no lagging) is? I just released v2.7.1 yesterday, was wondering if some changes introduced between v2.7.0 and v2.7.1 are causing this.
The issue started already in v2.7.0. I have uninstalled the package through Chocolatey and installed the newest version v2.7.1 with little to no luck. I guess Chocolatey updated the package automatically because a few days it worked perfectly fine.
Hi, @sebastianttr Thank you for the info. I think we would need to reproduce it locally to understand the issue better. It is possible for you to provide a reproducible project? Thanks
Expected behavior
skaffold running together with node used to sync and hot reload in a matter of 1-2 seconds on the cloud.
Actual behavior
skaffold does sync the file instantly, but it does not reload the project. See logs for ruther info.
Information
Skaffold version: v2.7.1 Operating system: Windows 11 Pro 64-Bit (10.0, Build 22621) Installed via: Chocolatey
Contents of skaffold.yaml:
Further System Information
Helm version: v3.12.0 kubectl version: v1.27.3
AKS uses arm64 CPUs ...
Contents of Dockerfile.dev:
Context
We have a Node service running on AKS and we suddendly have the issue of not being able to develop in the way we used to because the reloading of the project with skaffold takes too long. According to the debug logs, it is syncing instantly.
We have our own helm charts that have no issue being deployed with the helm cli. We have run skaffold with other services such as a Java Quarkus Service and they ran perfectly fine. But as soon as we develop on a node server, it takes too long to Sync the files...
We went further and cloned older commits that we know definitly work and the gave us they same laggy behaviour.
Important to note here is that during development, everything is running on AKS like the docker build with Kaniko.
Steps to reproduce the behavior
Logs from skaffold
Notice the mount of time between the first sync line "Change detectednotify.Create" and "Found dependencies for dockerfile:" A whole 10-15 seconds compared to the 1-2 seconds we used to get.