ucsdlib / hifive

An application supporting an Employee Recognition program workflow
MIT License
0 stars 0 forks source link

Create initial Helm chart for High Five #301

Closed mcritchlow closed 5 years ago

mcritchlow commented 5 years ago

Descriptive summary

Create initial Helm chart for deploying the High Five application to a k8s cluster.

Rationale

see: #297

Expected behavior

see: recent Starlight and Theodor work for reference implementations

mcritchlow commented 5 years ago

status update: https://github.com/ucsdlib/hifive/compare/init-helm-chart

todo:

mcritchlow commented 5 years ago

Much closer, but currently having an issue w/ the database connection between the application and the database containers.

getting:

2019-10-28 23:19:49.029 GMT [3631] FATAL: password authentication failed for user "hifive"

2019-10-28 23:19:49.029 GMT [3631] DETAIL: Role "hifive" does not exist.

Otherwise, the chart is deployed in our Rancher cluster for testing. Will circle back tomorrow

mcritchlow commented 5 years ago

Progress report:

Once email is working, I'm going to submit a PR to get this initial work in place

mcritchlow commented 5 years ago

Oh also I have shib commented out in the production config file. Don't let me merge/commit that change accidentally! :)

mcritchlow commented 5 years ago

Thoughts on connection issues:

Edit: thinking this might be a policy thing: exec'ing a shell on the running app container, I can nc -z the db host just fine, but not the email host.

mcritchlow commented 5 years ago

image

Ok, so the network policy is/was definitely the problem. I think a few things to figure out:

mcritchlow commented 5 years ago

image

Got it working w/ a network policy. PR coming