I am running a cloud function, and the code is working fine. However, the cloud function is disappearing frequently, and I don't know the exact reason for that. I checked the logs, but I couldn't find any errors. Could you please tell me what could have caused the function to be deleted?
Hi @subha_m,
Welcome to Google Cloud Community!
There are a few possible reasons why your Cloud Function might be disappearing frequently without any error logs.
Cloud Functions are stateless and are only started up when invoked. This can cause a delay between invocation and execution, especially if the function hasn't been invoked for a while.
Cloud Functions have a maximum concurrency limit, which is the number of instances that can be running at the same time. Exceeding this limit will terminate your Cloud Functions.
Cloud Functions also have resource usage limits, such as CPU and memory limits. Using too much of these resources will terminate your Cloud Function.
If there is an error in your Cloud Function deployment, it may not be deployed correctly, causing it to disappear or stop working altogether.
You may contact Google Cloud support for further assistance.
i dont see cloud run function in console.cloud.google.com any more today. It disappear and i can't deploy using zip upload any more.