Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(CSI-241): conflict in metrics between node and controller (#325)
### TL;DR Updated metrics configuration for CSI WekaFS Plugin to support separate ports for different components. ### What changed? - Modified the prometheus.io/port annotation in controllerserver-statefulset.yaml to include separate ports for controller, provisioner, resizer, and snapshotter. - Updated the metrics port configuration in both controllerserver-statefulset.yaml and nodeserver-daemonset.yaml to use component-specific ports. - Added new metrics port configurations in values.yaml: - controllerPort: 9090 - provisionerPort: 9091 - resizerPort: 9092 - snapshotterPort: 9093 - nodePort: 9094 ### How to test? 1. Deploy the CSI WekaFS Plugin with metrics enabled. 2. Verify that the prometheus.io/port annotation in the controller pod includes all specified ports. 3. Check that the controller and node server pods are exposing metrics on their respective ports. 4. Attempt to scrape metrics from each component using the newly configured ports. ### Why make this change? This change allows for more granular control over metrics collection for different components of the CSI WekaFS Plugin. By using separate ports for each component, it becomes easier to monitor and troubleshoot specific parts of the plugin, enhancing observability and debugging capabilities. Additional idea behind this change is avoiding port conflicts when running CSI plugin in hostNetwork mode (required for NFS) ---
- Loading branch information