Skip to main content
Version: 2.12

Session Cluster Defaults

Session Cluster resources have configurable defaults for attributes in their spec section. This page describes how defaults apply to Session Cluster resources and how to customize them.

caution

Session Cluster defaults are currently only applied in the web user interface of Ververica Platform, not for Session Clusters created through the REST API.

Overview

Ververica Platform provides global Session Cluster Defaults to define system-wide properties in the spec section of Session Cluster resources when creating Session Clusters through the Ververica Platform user interface.

Configuration SourceURI
Session Cluster/api/v1/namespaces/{name}/sessionclusters
GlobalSessionClusterDefaults/api/v1/global-sessioncluster-defaults

These defaults are applied directly in the web user interface and can be overridden.

Global Session Cluster Defaults

Ververica Platform ships with built-in global defaults. Users have read-only access to these defaults via the API at /api/v1/global-sessioncluster-defaults.

Configuration

Administrators can selectively overwrite the built-in Global Session Cluster Defaults in the Platform configuration:

    vvp:
globalSessionClusterDefaults: |
spec:
flinkConfiguration:
restart-strategy: fixed-delay
restart-strategy.fixed-delay.attempts: 3
restart-strategy.fixed-delay.delay: 10 s
caution

The provided values are required to be a string. We recommend using the literal string notation using the | symbol as in the example above when configuring the platform via YAML.