ansibleplaybookbundle / eclipse-che-apb

7 stars 4 forks source link

Avoid provisioning Che twice on the same cluster #18

Open l0rd opened 6 years ago

l0rd commented 6 years ago

We want only one Che instance per cluster. The APB should first check if wsmaster is already running in the cluster. If it does the APB should only show a message that says that Che is already installed and provide the link to the dashboard.

ghost commented 6 years ago

I'd say right away - search for che route at a cluster scope. But APB service account does not have these privileges.

@l0rd do you have a different idea in mind?

l0rd commented 6 years ago

I was thinking about using an hard coded namespace name for wsmaster and send an HTTP request to verify if it's running. Not 100% reliable but I don't have a better idea...Maybe a configmap in a public namespace?

Il mar 17 lug 2018, 19:53 Eugene Ivantsov notifications@github.com ha scritto:

I'd say right away - search for che route at a cluster scope. But APB service account does not have these privileges.

@l0rd https://github.com/l0rd do you have a different idea in mind?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ansibleplaybookbundle/eclipse-che-apb/issues/18#issuecomment-405670012, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlC73B5Py2vrfbKsCnJHIVKYk2swrcDks5uHiSygaJpZM4VTO6S .