Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

spec: add RestartPolicy type in pod manifest. #547

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 30, 2015

  1. spec: add RestartPolicy type in pod manifest.

    The optional pod level `RestartPolicy` type defines the behavior of
    the apps within a pod when they exit.
    
    This PR adds 3 valid policies:
    
    - always: The app always restarts when it exits, regardless of its
    exit status.
    
    - onFailure: The app restarts only when it exits unsuccessfully.
    
    - never: The app never restarts in any cases.
    Yifan Gu committed Nov 30, 2015
    Configuration menu
    Copy the full SHA
    7969e8c View commit details
    Browse the repository at this point in the history