atomicapp icon indicating copy to clipboard operation
atomicapp copied to clipboard

Label all artifacts for kubernetes and openshift

Open vpavlin opened this issue 9 years ago • 6 comments

Kubernetes (and through that also openshift) has ability to label pods, services and RCs. If we label all of them with something like nulecule-$app_id, we can use that for stop feature and instead callinf kubectl delete -f for every single artifact, we can just call kubectl delete rc,services,pods -l name=nulecule-$app_id

vpavlin avatar May 21 '15 12:05 vpavlin

+1

I think that can be done automagically by atomicapp itself, no need to have the developer put that in upfront. So, after all has been extracted from the docker image, we can add these labels by processing the kube config files. Openshift provides templates for that, but the ISV (who generated the Atomicapp) may have not used them, so we should not depend on that.

goern avatar May 21 '15 14:05 goern

Sounds good. So I understand, you're proposing using this is as a convention that atomicapp will rely on? Or will atomicapp add the label at runtime?

aweiteka avatar May 21 '15 14:05 aweiteka

@aweiteka the last.

goern avatar May 21 '15 14:05 goern

+1

aweiteka avatar May 21 '15 14:05 aweiteka

I can take this.

navidshaikh avatar Sep 29 '15 14:09 navidshaikh

Hi @navidshaikh although this is a late ping, are you still working on this / have a pr or branch for this?

If not, we can start working on it in order to introduce ways to list running atomicapp's, stop without having to pass a working directory, etc. etc.

Thanks!

cdrage avatar Mar 17 '16 18:03 cdrage