Solved! Go to Solution.
Hi @dheerajpanyam,
I understand your concern about the delay in pods attaining "Ready" status because of Cloud Filestore mounts is valid. The roughly 15–20 second lag is mainly attributable to the NFS mount procedure, and although image retrieval and pod setup durations play a role, the Filestore mount might be a major reason.
Options:
1. Migrating to Cloud Run:
Cloud Run does not support mounting Cloud Filestore directly. Instead, you can consider:
While Cloud Run eliminates the mounting process and potentially reduces start-up times, ensure your application's stateless nature aligns with Cloud Run’s design.
2. Optimizing GKE Standard:
If migrating to Cloud Run introduces complexities, optimize your current GKE setup by:
I can say that Cloud Run can provide reduced startup latency but this will require reworking your application’s storage approach. If persistent storage and filesystem compatibility are critical, I would recommend sticking to GKE and optimizing Filestore performance might be the better path.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi @dheerajpanyam,
I understand your concern about the delay in pods attaining "Ready" status because of Cloud Filestore mounts is valid. The roughly 15–20 second lag is mainly attributable to the NFS mount procedure, and although image retrieval and pod setup durations play a role, the Filestore mount might be a major reason.
Options:
1. Migrating to Cloud Run:
Cloud Run does not support mounting Cloud Filestore directly. Instead, you can consider:
While Cloud Run eliminates the mounting process and potentially reduces start-up times, ensure your application's stateless nature aligns with Cloud Run’s design.
2. Optimizing GKE Standard:
If migrating to Cloud Run introduces complexities, optimize your current GKE setup by:
I can say that Cloud Run can provide reduced startup latency but this will require reworking your application’s storage approach. If persistent storage and filesystem compatibility are critical, I would recommend sticking to GKE and optimizing Filestore performance might be the better path.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Thanks so much @greb
Any examples on Node prewarming and the other options in GKE that you talked about @greb ?
GKE (Google Kubernetes Engine) is generally faster for mounting Cloud Filestore (NFS storage) compared to Cloud Run. This is because GKE allows more control over the underlying infrastructure, including networking and pod configurations, which can provide better performance for NFS storage.
In contrast, Cloud Run is designed for stateless applications and is more optimized for quick scaling, but may experience some latency when accessing persistent NFS storage due to its serverless nature and cold start times.