[K3D/K3S] Dynamically egress k3d harmony server IP range #108
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: NationTech/harmony#108
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current behavior
The k3d harmony server is currently hardcoded in the network policy applied in the context of a local K3d installation. Which is fine in most cases, but sometimes docker might change its subnet and it will silently break the configuration (e.g. Grafana will not be able to query its data source for metrics).
Expected behavior
The subnet should be retrieved dynamically to apply the proper network policy with a local k3d installation. For example, we could use
k3d cluster list -o json|yaml
and retrievek3d.cluster.network.iprange
, or directly withdocker network inspect k3d-harmony
.[K3D/K3S] Dynamically egress k3d harmony server IPto [K3D/K3S] Dynamically egress k3d harmony server IP range