Teardown resources¶
KPOps teardown commands¶
destroy
: Removes Kubernetes resources.reset
: Runsdestroy
, resets the states of Kafka Streams apps and resets offsets to zero.clean
: Runsreset
and removes all Kafka resources.
KPOps-deployed pipeline¶
The kpops
CLI can be used to destroy a pipeline that was previously deployed with KPOps.
In case that doesn't work, the pipeline can always be taken down manually with helm
(see section Infrastructure).
-
Export environment variables.
-
Navigate to the
examples
folder. Replace the<name-of-the-example-directory>
with the example you want to tear down. For example theatm-fraud-detection
. -
Remove the pipeline
Infrastructure¶
Delete namespace:
Note
In case kpops destroy
is not working one can uninstall the pipeline services one by one.
This is equivalent to running kpops destroy
. In case a clean uninstall (like the one kpops clean
does)
is needed, one needs to also delete the topics and schemas created by deployment of the pipeline.
Local cluster¶
Delete local cluster:
Local image registry¶
Delete local registry: