ansible-community / ara

ARA Records Ansible and makes it easier to understand and troubleshoot.
https://ara.recordsansible.org
GNU General Public License v3.0
1.85k stars 171 forks source link

Operator for deployment of the API server on Kubernetes/OpenShift #106

Open dmsimard opened 4 years ago

dmsimard commented 4 years ago

What component is this about ?

API server

What is the idea ?

There is a demand for being able to easily deploy the ARA API server on Kubernetes and OpenShift.

We should determine what is the best way for the project to support this, whether it would be through helm charts, a native operator or perhaps using the Ansible operator SDK with our existing roles.

This is dependant on the project publishing container images so they can be deployed. Getting images built and published is tracked in this issue: https://github.com/ansible-community/ara/issues/105

rptaylor commented 3 years ago

IMHO Helm is a good choice, relatively lightweight and simple while being sufficiently flexible.

mamercad commented 2 years ago

I have the beginnings of a Helm chart; it's very simple right now, just a Deployment and a Service. It's good enough for my needs right now (and spares me from a virtual machine 😄).

mamercad commented 2 years ago
❯ helm list
NAME    NAMESPACE       REVISION        UPDATED                                 STATUS          CHART           APP VERSION
ara     ara             2               2021-10-04 06:33:24.576997 -0400 EDT    deployed        ara-0.3.0       1.5.7
❯ curl -s https://ara.example.org/api/v1/ | jq -r .labels
http://ara.example.org/api/v1/labels
dmsimard commented 2 years ago

@mamercad thanks for sharing !

I don't use k8s day-to-day (much less helm) and it will be great to at least be able to point at a working example to help users get started. When (or if) you feel it is ready, I would be happy to share it more broadly in case anyone would be interested in contributing.

It reminds me we are due for an update of the base container image -- with fedora 35 around the corner I will wait until it comes out and skip fedora 34 in the process.

mamercad commented 2 years ago

Yep, this is the first Helm chart I've written, so, I barely know what I'm doing -- as you've mentioned, it's something someone can look at, a start.

rptaylor commented 1 year ago

I found an Ara helm chart here: https://artifacthub.io/packages/helm/lib42/ara Haven't tried it yet.

dmsimard commented 1 year ago

I still don't personally have a use case for ara with helm but I came across this chart a while back: https://github.com/sspreitzer/helm-ara