Hi,
I’m using 2.8-beta1-focal-amd64 and testing out charms on k8s, and came across an oddity (which is most likely my misunderstanding of how k8s charms work) with my charm and running “add-unit”. It’s failing with:
raise ModelError(‘cannot set a pod spec as this unit is not a leader’)
Looking at containers in the relevant namespace I see two “application” pods and one “operator” pod. I’m confused about where the pod spec is being set - isn’t that on the operator pod, and if so, why is it failing in this way?
Thanks, Tom