Open seanhamlin opened 1 month ago
This is partially resolved in the helm replacement branch by reducing the number of times that the apply takes place
I would also recommend that if you have 400 routes or ingress objects, that you look to try to consolidate as many of these using the alternativeNames
feature to reduce the overall number of ingress objects that would be created.
- Only apply ingress objects when there is a change that needs to be applied (e.g. adding a new domain, deleting a domain, some form of annotation change)
This will come to a degree, but its difficult to know what is changed and what hasn't changed without first analyzing the namespace ingress objects. Which would also add time to the process. There are some tradeoffs
At present, if you have a lot of domains defined in your
.lagoon.yml
file (in this case > 400), a deployment can take a long time to run through.The most impacted steps of the deployment are:
The total deployment duration was 25m 41secs, so the above 2 steps account for 97.4% of the deployment time.
Ideal scenario