Commit 40d7341
committed
fix: add kube-prometheus-stack as gpu-operator dependency
GPU operator with dcgmExporter.serviceMonitor.enabled=true tries to
create a ServiceMonitor CR during reconciliation. If kube-prometheus-stack
(which provides the ServiceMonitor CRD) is not yet installed, the
operator reports ClusterPolicy as notReady with "couldn't find
ServiceMonitor CRD".
Add kube-prometheus-stack as a dependency of gpu-operator in base.yaml
to ensure the monitoring stack and its CRDs are installed first.
Fixes: #165
Signed-off-by: Yuan Chen <yuanchen97@gmail.com>1 parent f9f1ec0 commit 40d7341
File tree
5 files changed
+6
-3
lines changed- examples/recipes
- recipes/overlays
- tests/chainsaw
- ai-conformance/offline
- cli/cuj1-training
5 files changed
+6
-3
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments