Skip to content

Commit 60b1262

Browse files
authored
🐛 Fix federated learning's obs (open-cluster-management-io#61)
* Fix: use correct file path Signed-off-by: mrrr61 <mrrr61@outlook.com> * docs: fix incorrect file path in documentation Signed-off-by: mrrr61 <mrrr61@outlook.com> * docs: fix inaccurate statement in doc Signed-off-by: mrrr61 <mrrr61@outlook.com> --------- Signed-off-by: mrrr61 <mrrr61@outlook.com>
1 parent 4fbf18a commit 60b1262

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

federated-learning-controller/deploy/obs/hack/certs/generate-certs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ awk '{print " " $0}' root-ca.crt > root-ca.crt.tmp
4040
sed -i "/PROM_WEB_ROOT_CA/{
4141
r root-ca.crt.tmp
4242
d
43-
}" ../../deploy/resources/addon-template.yaml
43+
}" ../../otel-addon/resources/addon-template.yaml
4444
rm root-ca.crt.tmp

federated-learning-controller/docs/configure-environment-observability.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ helm --kube-context kind-hub install prometheus prometheus-community/kube-promet
9797

9898
This add-on deploys the necessary components (Kepler exporter and OTel collector) to the managed clusters via OCM's add-on framework.
9999

100-
First, create a namespace for the add-on on all clusters:
100+
First, create a namespace for the add-on on hub cluster:
101101
```bash
102102
kubectl --context kind-hub create namespace open-cluster-management-addon
103103
```
104104

105105
Then, apply the Kustomization to deploy the add-on resources:
106106

107107
```bash
108-
kubectl --context kind-hub apply -k deploy
108+
kubectl --context kind-hub apply -k otel-addon
109109
```
110110

111111
The OCM add-on manager will now distribute the OTel collector and Kepler to the managed clusters as defined by the `Placement` resource.

0 commit comments

Comments
 (0)