armory / minnaker

Spinnaker on Lightweight Kubernetes (K3s)
Apache License 2.0
145 stars 53 forks source link

what is the purpose of statefulset=mariadb-0 ? #55

Closed aleon1220 closed 4 years ago

aleon1220 commented 4 years ago

Is it for Orca SQL??

Is there any docs from minnaker that point to the usage of this stateful set?

thanks so much

image

aimeeu commented 4 years ago

Minnaker uses Kubernetes to deploy Spinnaker services. StatefulSet is a Kubernetes object: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/

I don't actually know what mariadb hooks up to. I'd have to dig through the scripts or ask Justin.

aleon1220 commented 4 years ago

Minnaker uses Kubernetes to deploy Spinnaker services. StatefulSet is a Kubernetes object: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/

I don't actually know what mariadb hooks up to. I'd have to dig through the scripts or ask Justin.

Just an update on this: if you want to persist the pipeline and task execution history you need to set up the mariadb or mysql instance with orca-sql Spinnaker instructions

Unfortunately it failed for some reason and the issue and solution are at: 5788

justinrlee commented 4 years ago

Oh, the MariaDB stuff is basically building out some skeleton for stuff I'd like to implement in the future. Haven't got there...

aleon1220 commented 4 years ago

Thanks @justinrlee I used the mariadb stateful set to get Orca SQL working and persist the pipeline executions. Useful for demos when clients ask too many details and you need to reboot. So that they dont ask "why are the pipeline executions gone now?"

Hey if any of you could give me insight on how to get phpmyAdmin MySQL manager up and running in the K3S cluster that would be great. thanks Closing this issue.