Pipeline containers and Pods
Chronosphere Telemetry Pipeline uses containers (opens in a new tab) and Pods (opens in a new tab) to manage pipelines.
Configure container lifecycle
You can configure a pipeline container to execute certain actions in response to
lifecycle events. To do so, add the following flag to a create pipeline
or
update pipeline
command:
calyptia {create|update} pipeline --lifecycle JSON
Replace JSON
with a JSON object that contains your lifecycle settings. You can
also pass an empty JSON object ({}
) to remove any existing lifecycle settings.
For more information, see the Lifecycle
entry in the
Kubernetes API documentation (opens in a new tab).
Specify Pod termination time
You can specify how long Kubernetes should wait before forcefully terminating the
Pod that runs a pipeline. To do so, add the following flag to a create pipeline
or update pipeline
command:
calyptia {create|update} pipeline --termination-grace-period-seconds VALUE
Replace VALUE
with a non-negative integer, which represents a time in seconds.
If unspecified, the default value is 30
.
For more information, see the terminationGracePeriodSeconds
entry in the Kubernetes API documentation (opens in a new tab).