Closed ShellyXueHan closed 3 years ago
Is there a reason for building the image instead of just using the pre-built and maintained image at quay.io/openshift-scale/cerberus
?
@gnunn1 yea two reasons:
Thanks for the explanation
Is there a reason to git clone the latest instead of just installing via pip? https://github.com/cloud-bulldozer/cerberus/blob/master/docs/installation.md#python-package
good points @StevenBarre
I don't know the specific reasons for the dockerfile setup, it's a copy from Cerberus repo and I haven't checked any details since it's just a POC. But before this make it to CCM I'll look into your suggestions and update them.
I'd also prefer to build and deploy Cerberus in its own namespace, but might have to setup the service account rolebinding in openshift-monitoring
still (TBD, need to double check)
but might have to setup the service account rolebinding in
openshift-monitoring
still
To get access to Prom you just need a CRB with get on namespaces. https://github.com/bcgov-c/platform-tools/blob/ocp4-base/ocp4/nagios/nagios.yaml#L26-L31
@StevenBarre I've updated the devops manifests and tested in klab. Once those are good, I'll start to look into CCM and work on some playbooks to generate updated token and config from templates instead of commands.
Background:
Idea: https://app.zenhub.com/workspaces/platform-experience-5bb7c5ab4b5806bc2beb9d15/issues/bcdevops/developer-experience/828
Task: https://app.zenhub.com/workspaces/platform-experience-5bb7c5ab4b5806bc2beb9d15/issues/bcdevops/developer-experience/1040
Changes:
Notes: