Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit ea1a4ef

Browse files
add @arcanez's suggestion for manifest editing
1 parent db8868f commit ea1a4ef

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/use-cases/source-attribution.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,17 @@ mdai enable --module datalyzer
3535
mdai disable --module datalyzer
3636
```
3737

38-
### Manually update k8s Collector Resource
38+
### Manually update k8s MDAI Cluster Resource
3939

4040
Get the custom resource for your collector:
4141

4242
```sh
43-
kubectl get mydecisiveengine mydecisiveengine-sample --namespace mdai-otel-nucleus -o yaml > cr.yml
43+
kubectl edit mydecisiveengine mydecisiveengine-sample --namespace mdai-otel-nucleus
4444
```
4545

46-
Edit the `cr.yml` to change the `spec.telemetryModule.collectors[0].measureVolumes` to `true` or `false` depending on whether you want the Source Attribution feature enabled or not.
46+
This will open the manifest in your default editor. Edit the manifest to change the `spec.telemetryModule.collectors[0].measureVolumes` to `true` or `false` depending on whether you want the Source Attribution feature enabled or not.
47+
48+
> More info on how `kubectl edit` works available in the [k8s docs](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/).
4749
4850
## How does it work?
4951

0 commit comments

Comments
 (0)