Hey does sync work with external ingress controll...
# 🤖|ask-kapa
m
Please stand by @swift-spring-8620 as I search the knowledge base. I normally take about 20 seconds or so. :wave:
---------------------- Yes, Garden does support syncing with external ingress controllers. By default, Garden does not install an ingress controller for remote environments, but this can be toggled by setting the
setupIngressController
flag to
nginx
. Alternatively, you can set up your own ingress controller, such as Traefik, Ambassador, or Istio. For code synchronization, you can use the
--sync
flag on the
garden deploy
command. For example:
Copy code
garden deploy my-deploy --sync=*
You can also configure a
two-way
sync mode with Garden sync mode for bi-directional syncing. Please note that if you re-install the Garden Nginx Ingress Controller, it may be assigned a new IP address by your cloud provider, meaning that hostnames pointing to the previous one will no longer work. To fix this, you can run
kubectl get svc -n garden-system
and look for the EXTERNAL-IP of the garden-nginx-nginx-ingress-controller service and update your DNS records with this new value. For more information, you can refer to the Code Synchronization guide () and the Garden documentation on providers and sync (). Sources: - Garden Documentation on Ingress and DNS () - Garden Documentation on Providers and Sync () - Garden Documentation on Using the CLI () - Garden Documentation on FAQ () - Garden Documentation on Troubleshooting () ----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon: ----------------------