Deployment Templates
Deployment templates are specified as part of Deployment under spec.template
and configure the Apache Flink® job to execute, including Flink cluster-level configuration as well as Flink job-specific configuration.
Overview
The relationship between the overall Deployment specification and its Deployment template is as follows:
- The Deployment template specifies which Apache Flink® job is executed and how to execute it, including its configuration.
- The Deployment specification defines how job instances are managed over time, for instance how to perform upgrades or which Savepoint to restore from.
On a high-level, each Deployment template consists of two parts:
-
metadata
Optional annotations used to provide additional configuration options, used to enable additional features. -
spec
The spec specifies which Flink job to execute and how to configure it.
The main part of a Deployment template is its spec which is described in the following sections. At the end of this page you will find a full example.