The Coherence Operator (the “operator”) manages Oracle Coherence on Kubernetes. It manages monitoring data through Prometheus, and logging data through the EFK stack.
This use case is covered in the samples. Refer to the samples documentation. To access and configure the Kibana user interface(UI), follow the instructions:
When you install the coherence-operator
and coherence
charts, you must specify the following
option for helm
for both charts. This ensures that the EFK stack is installed and correctly configured.
--set logCaptureEnabled=true
Once you have installed both charts, use the following script to port forward the Kibana port 5601
:
Note: If your chart is installed in a namespace other than the default
,
then include the --namespace
option for both kubectl
commands.
#!/bin/bash
trap "exit" INT
POD=$(kubectl get pods --namespace namespace | grep kibana | awk '{print $1}')
while :
do
kubectl port-forward $POD --namespace namespace 5601:5601
done
There are a number of dashboards created via the import process.
Coherence Operator
Coherence Cluster
Coherence Cluster - All Messages - Shows all messages
Coherence Cluster - Errors and Warnings - Shows only errors and warnings
Coherence Cluster - Persistence - Shows persistence related messages
Coherence Cluster - Partitions - Shows Ppartition related messages
Coherence Cluster - Message Sources - Allows visualization of messages via the message source (Thread)
Coherence Cluster - Configuration Messages - Shows configuration related messages
Coherence Cluster - Network - Shows network related messages such as communication delays and TCP ring disconnects
There are many queries related to common Coherence messages, warnings and errors that are loaded and can be accessed via the discover side-bar.
There are two index patterns created via the import process and the coherence-cluster-*
pattern
will be set as the default. If for some reason this is not the case, then perform the following steps
to set coherence-cluster-*
as the default:
Open the URL: http://127.0.0.1:5601/
Navigate to the Management
side-bar.
Click Index Patterns
, then select the coherence-cluster-*
pattern.
Click Star
on the top right to set as default.