Skip to content

Commit

Permalink
Improve labels to select connectors
Browse files Browse the repository at this point in the history
- Use k8s recommended labels, allow to select connector pods using app.kubernetes.io/instance label
  • Loading branch information
afausti committed Aug 31, 2024
1 parent 44752c7 commit dbf2d25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions docs/developer-guide/connectors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,13 @@ To list the connectors deployed in a Sasquatch environment, run:

.. code:: bash
kubectl get deploy -l app=sasquatch-telegraf-kafka-consumer -n sasquatch
kubectl get deploy -l app.kubernetes.io/name=sasquatch-telegraf -n sasquatch
To view the logs of a connector or multiple connectors run:
To view the logs of a connector or multiple connector instances run:

.. code:: bash
kubectl logs sasquatch-telegraf-<connector-name> -n sasquatch
kubectl logs -l app=sasquatch-telegraf-kafka-consumer --tail=5 -n sasquatch
kubectl logs -l app.kubernetes.io/instance=sasquatch-telegraf-<connector-name> --tail=5 -n sasquatch
To stop a connector, run:

Expand Down
2 changes: 1 addition & 1 deletion docs/developer-guide/strimzi-updates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Note that you do not explicitly set the Kafka ``metadataVersion`` in Sasquatch;
This happens because, while the first broker will be running the new version supported by the operator, the third broker will still be on an unsupported version.
Since Sasquatch requires a minimum of two in-sync replicas for each Kafka topic, this mismatch would cause an outage.

If your current version of Kafka is not supported by the new version of the operator, to avoid an outage during the upgrades, first update Kafka to a supported version and then update the operator.
If your current version of Kafka is not supported by the new version of the operator, to avoid an outage during the upgrades, first update Kafka to a supported version and then update the operator.

Refer to the `Strimzi documentation`_ for more details.

Expand Down

0 comments on commit dbf2d25

Please sign in to comment.