Skip to content

Commit 21a4580

Browse files
authored
fix: add label to clustertrainingruntimes to disable ambient (#298)
* fix: add label to clustertrainingruntimes to disable istio ambient
1 parent 941da3f commit 21a4580

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/training_runtimes/deepspeed_distributed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ spec:
3737
metadata:
3838
labels:
3939
sidecar.istio.io/inject: 'false'
40+
# Opt out of Istio ambient mesh to enable pod-to-pod communication for distributed training.
41+
istio.io/dataplane-mode: none
4042
spec:
4143
containers:
4244
- name: node

src/training_runtimes/mlx_distributed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ spec:
4040
metadata:
4141
labels:
4242
sidecar.istio.io/inject: 'false'
43+
# Opt out of Istio ambient mesh to enable pod-to-pod communication for distributed training.
44+
istio.io/dataplane-mode: none
4345
spec:
4446
containers:
4547
- name: node

src/training_runtimes/mpi_distributed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ spec:
4747
metadata:
4848
labels:
4949
sidecar.istio.io/inject: 'false'
50+
# Opt out of Istio ambient mesh to enable pod-to-pod communication for distributed training.
51+
istio.io/dataplane-mode: none
5052
spec:
5153
containers:
5254
- name: node

src/training_runtimes/torch_distributed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ spec:
2222
metadata:
2323
labels:
2424
sidecar.istio.io/inject: 'false'
25+
# Opt out of Istio ambient mesh to enable pod-to-pod communication for distributed training.
26+
istio.io/dataplane-mode: none
2527
spec:
2628
containers:
2729
- image: pytorch/pytorch:2.7.1-cuda12.8-cudnn9-runtime

0 commit comments

Comments
 (0)