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

spec: add ExitPolicy type in pod manifest. #500

Closed
wants to merge 1 commit into from

Commits on Sep 24, 2015

  1. spec: add ExitPolicy type in pod manifest.

    The optional `ExitPolicy` type defines the behavior of the pod when
    the apps within it exit.
    
    This PR adds 3 valid policies:
    
    - untilAll: The pod exits only when all the apps exit (no matter they
    are successful or not).
    
    - onAny: The pod exits when any of the apps exit (no matter they are
    successful or not).
    
    - onAnyFailure: The pod exits when any of the apps exit unsuccessfully.
    Yifan Gu committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    ae17631 View commit details
    Browse the repository at this point in the history