github.com/smintz/nomad@v0.8.3/website/source/guides/operating-a-job/failure-handling-strategies/index.html.md (about)

     1  ---
     2  layout: "guides"
     3  page_title: "Handling Failures - Operating a Job"
     4  sidebar_current: "guides-operating-a-job-failure-handling-strategies"
     5  description: |-
     6    This section describes features in Nomad that automate recovering from failed tasks.
     7  ---
     8  
     9  # Failure Recovery Strategies
    10  
    11  Most applications deployed in Nomad are either long running services or one time batch jobs.
    12  They can fail for various reasons like:
    13  
    14  - A temporary error in the service that resolves when its restarted.
    15  - An upstream dependency might not be available, leading to a health check failure.
    16  - Disk, Memory or CPU contention on the node that the application is running on.
    17  - The application uses Docker and the Docker daemon on that node is unresponsive.
    18  
    19  Nomad provides configurable options to enable recovering failed tasks to avoid downtime. Nomad will
    20  try to restart a failed task on the node it is running on, and also try to reschedule it on another node.
    21  Please see one of the guides below or use the navigation on the left for details on each option:
    22  
    23  1. [Local Restarts](/guides/operating-a-job/failure-handling-strategies/restart.html)
    24  1. [Check Restarts](/guides/operating-a-job/failure-handling-strategies/check-restart.html)
    25  1. [Rescheduling](/guides/operating-a-job/failure-handling-strategies/reschedule.html)