Skip to content

Commit

Permalink
Update connectors.rst
Browse files Browse the repository at this point in the history
Add kubectl rollout restart command
  • Loading branch information
afausti authored Nov 5, 2024
1 parent 7b4ed64 commit ee5b9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developer-guide/connectors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ To stop the connectors you can scale the deployment replicas down to zero:
kubectl scale deploy -l app.kubernetes.io/name=sasquatch-telegraf --replicas=0 -n sasquatch
To start the connectors you can scale the deployment replicas back to one:
To restart the connectors:

.. code:: bash
kubectl scale deploy -l app.kubernetes.io/name=sasquatch-telegraf --replicas=1 -n sasquatch
kubectl rollout restart deploy -l app.kubernetes.io/name=sasquatch-telegraf -n sasquatch
To permanently remove a connector set the ``kafkaConsumers.<connector name>.enabled`` key to ``false`` in the ``sasquatch/values-<environment>.yaml`` file and sync the connector ConfigMap and the Deployment Kubernetes resources in Argo CD.

Expand Down

0 comments on commit ee5b9d0

Please sign in to comment.