Deployment Trait

The Deployment trait is responsible for generating the Kubernetes deployment that will make sure the integration will run in the cluster.

This trait is available in the following profiles: Kubernetes, Knative, OpenShift.

The deployment trait is a platform trait: disabling it may compromise the platform functionality.

Configuration

Trait properties can be specified when running any integration with the CLI:

kamel run --trait deployment.[key]=[value] --trait deployment.[key2]=[value2] integration.groovy

The following configuration options are available:

Property Type Description

deployment.enabled

bool

Can be used to enable or disable a trait. All traits share this common property.