You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: approval-controller-metric-collector/README.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,54 +57,54 @@ This deploys:
57
57
58
58
### 3. Deploy Sample Metric Application
59
59
60
-
Deploy a sample application that exposes health metrics:
60
+
The sample metric application image will be automatically built and loaded to all member clusters when you run the `install-on-member.sh` script in Step 5 below. This ensures the `metric-app:local` image is available on each cluster before propagating the deployment from hub to member clusters.
61
+
62
+
After the metric collector is installed (Step 5), deploy the sample application that exposes health metrics:
This creates a deployment in the `test-ns` namespace with Prometheus annotations for metric scraping.
68
+
This creates a deployment in the `test-ns` namespace with Prometheus annotations for metric scraping. When this deployment is propagated to member clusters via ClusterResourcePlacement, the image will already be available locally.
1. Builds the `approval-request-controller:latest` image
83
+
2. Loads the image into the kind hub cluster
84
+
3. Verifies that required kubefleet CRDs are installed
85
+
4. Installs the controller via Helm with the custom CRDs (MetricCollector, MetricCollectorReport, WorkloadTracker)
86
+
5. Verifies the installation
87
+
87
88
### 5. Install Metric Collector (Member Clusters)
88
89
89
-
On each member cluster, install the metric collector:
90
+
On each member cluster, install the metric collector. The installation script will automatically build and load both the metric-collector and metric-app images to all specified member clusters:
90
91
91
92
```bash
92
93
cd standalone-metric-collector
93
94
94
-
# Create hub token secret (replace with actual hub token)
0 commit comments