• Clayton Coleman's avatar
    Graceful deletion of resources · 428d2263
    Clayton Coleman authored
    This commit adds support to core resources to enable deferred deletion
    of resources.  Clients may optionally specify a time period after which
    resources must be deleted via an object sent with their DELETE. That
    object may define an optional grace period in seconds, or allow the
    default "preferred" value for a resource to be used. Once the object
    is marked as pending deletion, the deletionTimestamp field will be set
    and an etcd TTL will be in place.
    
    Clients should assume resources that have deletionTimestamp set will
    be deleted at some point in the future.  Other changes will come later
    to enable graceful deletion on a per resource basis.
    428d2263
etcd_object.go 2.25 KB