canonical / grafana-agent-k8s-operator

This charmed operator automates the operational procedures of running Grafana Agent, an open-soruce telemetry collector.
https://charmhub.io/grafana-agent-k8s
Apache License 2.0
8 stars 18 forks source link

fix: use set_ports instead of open_port #289

Closed lucabello closed 4 months ago

lucabello commented 4 months ago

Issue

open_port doesn't close ports; if the port changes on upgrades, the previous one isn't closed.

Solution

Use set_ports instead, as documented here.