Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test and example showing how to work with istio service mesh #1105

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading