Giter VIP home page Giter VIP logo

Comments (5)

zhenqxuMSFT avatar zhenqxuMSFT commented on September 1, 2024 1

However, I am observing my replica being terminated after 3 attempts, i.e. 9 seconds.

@emilmuller the default values in the document only applies if you do not define the probe at all. If you define the probe while leave some property unset, it defaults to kubernetes defaults.
@anthonychu @cachai2 Probably we should clarify this in the doc to avoid confusion. Also, I spotted a the default timeout value for startup probe is 3 seconds. Moreover, I feel like it confuses customers by saying Failure threshold: timeoutSeconds. In fact the threshold does not related to timeout seconds if customer specifies them. So, we should just document the const default value. For StartupProbe it's 240 and for ReadinessProbe it's 48.

It would seem that groups of two health probes are executed almost at the same time. Are they failing, then immediately retrying and not respecting the 'period seconds' param?

@emilmuller could you send your container app name, environment name, resource group name, subscription id and region to acasupport#microsoft.com.

from azure-container-apps.

emilmuller avatar emilmuller commented on September 1, 2024

@zhenqxuMSFT Thanks. On a second, related note: Trying to figure out what the optimal initial delay seconds should be, and it's proving challenging. Looking through the logs, trying to sort on time to figure out when it starts.

There are four seeminly similar columns: TimeGenerated, time_t, _timestamp_d, TimeStamp_s. I can't find documentation on what the differences between these are, and which one you are suppose to sort on. Some of them yield millisecond variations, and you end up with different sorting. So far, I'm experiencing that sorting on _timestamp_d yields the most sensible sorting from what I can interpret from Reason_s. I'm ending up with this:

image

I'm guessing 'ContainerStarted' is the one I should be looking for to start measuring boot time.

It seems to log 'ImagePulled' twice. Not sure if something is happening twice when it only needs to happen once?

Regards

from azure-container-apps.

njuCZ avatar njuCZ commented on September 1, 2024

Hi @emilmuller, you are right, the log is duplicated and we have fixed this issue, it may take some time to deploy.
you can filter the log by time_t

from azure-container-apps.

microsoft-github-policy-service avatar microsoft-github-policy-service commented on September 1, 2024

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

from azure-container-apps.

microsoft-github-policy-service avatar microsoft-github-policy-service commented on September 1, 2024

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

from azure-container-apps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.