ara icon indicating copy to clipboard operation
ara copied to clipboard

Operator for deployment of the API server on Kubernetes/OpenShift

Open dmsimard opened this issue 5 years ago • 7 comments

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

dmsimard avatar Jan 15 '20 15:01 dmsimard

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

rptaylor avatar Aug 11 '21 18:08 rptaylor

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 avatar Oct 04 '21 10:10 mamercad

❯ 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

mamercad avatar Oct 04 '21 10:10 mamercad

@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.

dmsimard avatar Oct 05 '21 14:10 dmsimard

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.

mamercad avatar Oct 07 '21 01:10 mamercad

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

rptaylor avatar Jan 31 '23 23:01 rptaylor

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

dmsimard avatar Feb 01 '23 00:02 dmsimard