Momentlabs / athenaeum

Jupyter Notebooks as a service
1 stars 0 forks source link

Review pod tagging #41

Open jdrivas opened 5 years ago

jdrivas commented 5 years ago

It would be good for monitoring purposes to be able to get all of the below in one group somehow. The one missing element is for the environment. Release should probably be used for that but is currently somewhat overloaded. A simple Helm install policy change might make it work correctly, but release would somehow have to be added to Single User Notebook to

Current tags

Single user notebook

component = singleuser-server
heritage = jupyterhub
app = jupyterhub
notebook_user = auth0-5f58b8af3b20e74746f356e4c9

Proxy

chart = athenaeum-0.0.4
component = proxy
pod-template-hash = 1748937762
app = athenaeum
heritage = Tiller
release = production

Hub

chart = athenaeum-0.0.4
component = hub
pod-template-hash = 249181800
app = athenaeum
heritage = Tiller
release = production

Nginx-ingress-controller

component = controller
pod-template-hash = 2592993592
release = nginx-ingress
app = nginx-ingress

Nginx-default-backend

component = default-backend
pod-template-hash = 2656102874
release = nginx-ingress
app = nginx-ingress

CertManager

pod-template-hash = 3516025094
release = cert-manager
app = cert-manager

Prepull

name = prepull
pod-template-generation = 1
controller-revision-hash = 1326659111
jdrivas commented 5 years ago

Simple fix for now is to change the Makefile in athenaeum-terraform for CertManager and nginx-ingress to have entries for production,staging,dev and name the release appropriately (ie. production, staging, dev).

Prepull would have to have a label attached to it, or create a Helm chart, though Prepull is clearly a second order issue.