Open abdelrahman-a-ibrahim opened 1 month ago
Hi @abdelrahman-a-ibrahim is it for you an option to use the official Confluent for Kubernetes operator instead? Helm charts are archived. Here you can find an example including the rest proxy https://github.com/confluentinc/confluent-kubernetes-examples/blob/master/quickstart-deploy/confluent-platform-singlenode.yaml
and in this repo you can also find a quickstart: https://github.com/confluentinc/jmx-monitoring-stacks/tree/main/jmxexporter-prometheus-grafana/cfk
Description: I am using the following helm chart to deploy
Kafka rest proxy
with thekafka-rest image tag: 7.0.1
. We are encountering an issue with internal communication between two containers in our Kubernetes deployment: thekafka-rest-server-container
and thejmx-exporter-container.
Thekafka-rest-server-container
is exposing a JMX port, configured through an environment variable, for the jmx-exporter-container to scrape metrics. However, whenever thejmx-exporter-container
attempts to connect to the JMX port on localhost, it encounters a "Connection Refused" error.Logs: Below are the logs from the
jmx-exporter-container
that indicate the connection refusal:Expected Behavior: The
jmx-exporter-container
should successfully connect to the JMX port on thekafka-rest-server-container
to retrieve metrics data.Current Behavior: The connection to the JMX port on localhost is being refused, as shown in the logs above.
Environment:
Relevant Configuration:
JMX Configuration:
Kubernetes Deployment Environment Variables for the
kafka-rest-server-container
:Note: tried to use
JMX_PORT
and got same issue !