Note the difference between:
1. 'private-address': '10.152.183.222' - auto populated - application address
2. 'private_address': '10.1.157.125' - populated manually by me - unit address
**Shouldn't the auto-populated `private-address` be the unit address instead of the app address?**
Model Controller Cloud/Region Version SLA Timestamp
dev-model my-ctrlr microk8s/localhost 2.9.5 unsupported 11:09:18-04:00
App Version Status Scale Charm Store Channel Rev OS Address Message
alertmanager-k8s active 1 alertmanager-k8s local 0 kubernetes 10.152.183.222
Unit Workload Agent Address Ports Message
alertmanager-k8s/0* active idle 10.1.157.125
Relation provider Requirer Interface Type Message
alertmanager-k8s:replicas alertmanager-k8s:replicas alertmanager-replica peer
I see some entries were automatically added to the peer data bag:
self.model. get_relation( "replicas" ).data. keys() = k8s/0>: { subnets' : '10.152. 183.222/ 32', address' : '10.152.183.222', address' : '10.152.183.222', address' : '10.1.157.125'}, # added by me model.Applicati on alertmanager-k8s>: {}
KeysView({
<ops.model.Unit alertmanager-
'egress-
'ingress-
'private-
'private_
<ops.
})
Note the difference between:
1. 'private-address': '10.152.183.222' - auto populated - application address
2. 'private_address': '10.1.157.125' - populated manually by me - unit address
**Shouldn't the auto-populated `private-address` be the unit address instead of the app address?**
Model Controller Cloud/Region Version SLA Timestamp
dev-model my-ctrlr microk8s/localhost 2.9.5 unsupported 11:09:18-04:00
App Version Status Scale Charm Store Channel Rev OS Address Message
alertmanager-k8s active 1 alertmanager-k8s local 0 kubernetes 10.152.183.222
Unit Workload Agent Address Ports Message
alertmanager-k8s/0* active idle 10.1.157.125
Relation provider Requirer Interface Type Message k8s:replicas alertmanager- k8s:replicas alertmanager- replica peer
alertmanager-