Open ShrutiC-git opened 10 months ago
hi @ShrutiC-git , to make your change reflect on your application, the application needs to aware the changes and do the updates itself, for node application, it requires container uses nodemon to start the application.
Expected behavior
After Skaffold successfully syncs a file, that is, the changes made are copied over to the deployed container's filesystem, I should be able to see the new changes in my application.
Actual behavior
Running the microservices with Skaffold example provided by Google to figure Skaffold's sync functionality for a private project.
I added
sync: infer
to theskaffold.yaml
file. The infer mode is set on all files -**/*
for all the services in the project. When I make a change to any one of the service, and runskaffold dev --default-repo <default-repo> --trigger polling -v info
, I can see that skaffold is syncing the changes. Upon exec-ing into the container, I can also see that the file on the container now contains the change I made. However, I'm not seeing the change reflected in my application.Information
Steps to reproduce the behavior
skaffold dev --default-repo <personal-dockerhub-repo> --trigger polling -v info
I'm running
skaffold dev
on a remote cluster on GKE. The local kubeConfig points to this cluster. It possibly could be something that has to do with how the images are tagged and/or pulled by skaffold on the cluster.