worried-salesclerk-16508
06/13/2025, 2:18 PMmicroscopic-river-74022
06/13/2025, 2:18 PMmicroscopic-river-74022
06/13/2025, 2:18 PMpaths
and mode
fields in your module (e.g., container
, helm
, or jib-container
). This will sync your local code to the running container in the cluster, allowing you to develop against a live Kubernetes workload.
3. Expose ports as needed using standard Kubernetes service or ingress configurations, since reverse port forwarding via local mode will not be available.
Example sync configuration:
yaml
paths:
- source: .
target: /app
mode: one-way-safe
exclude:
- node_modules
- .git
This configuration will sync your local directory to /app
in the container, using the one-way-safe
mode. You should adjust the target
path and exclude
patterns as needed for your project.microscopic-river-74022
06/13/2025, 2:18 PMmicroscopic-river-74022
06/13/2025, 2:18 PM