Skip to content

Commit

Permalink
Add test and example showing how to update alloy clustering to work w…
Browse files Browse the repository at this point in the history
…ithin istio service mesh (#1105)

Signed-off-by: Pete Wall <[email protected]>
  • Loading branch information
petewall authored Jan 13, 2025
1 parent b89d8df commit eea7c56
Show file tree
Hide file tree
Showing 14 changed files with 7,839 additions and 5 deletions.
41 changes: 41 additions & 0 deletions charts/k8s-monitoring/docs/examples/istio-service-mesh/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
(NOTE: Do not edit README.md directly. It is a generated file!)
( To make changes, please modify values.yaml or description.txt and run `make examples`)
-->
# Istio Service Mesh example

This example shows how to ensure that Alloy clustering when Istio Service Mesh is enabled and has deployed the Istio
sidecar to the Alloy pods. This change is necessary because the Alloy cluster's headless Service port name
[will not work](https://istio.io/latest/docs/ops/common-problems/network-issues/#503-error-while-accessing-headless-services)
if it keeps its default port name of `http`.

## Values

```yaml
---
cluster:
name: istio-service-mesh-example

destinations:
- name: localPrometheus
type: prometheus
url: http://prometheus-server.prometheus.svc:9090/api/v1/write

annotationAutodiscovery:
enabled: true
annotations:
scrape: prometheus.io/scrape
metricsPath: prometheus.io/path
metricsPortNumber: prometheus.io/port

clusterMetrics:
enabled: true

alloy-metrics:
enabled: true
alloy:
clustering:
portName: tcp
controller:
replicas: 2
```
Loading

0 comments on commit eea7c56

Please sign in to comment.