Deployments are managed in a declarative manner. The lifecycle of Deployments is tailored towards streaming applications and treats bounded applications as a special case. For stateful applications, it’s possible to drain the pipeline before suspending or upgrading a Deployment. Forking a Deployment clones it.