Kubernetes Service Interface with Operator Framework

This functionality already landed in Charmcraft (you need the 0.6.1+76.gcebe5a1 versions, from the edge channel).

I also just published a tutorial to use this new Charm Libraries feature.