kraken icon indicating copy to clipboard operation
kraken copied to clipboard

Installation without using the dockerfile

Open Eragonfr opened this issue 2 years ago • 3 comments

Is it possible to install Kraken without using the dockerfile ? And if it is can you provide an example on how to do it on something like debian.

It's just nicer to have a full tutorial on how to install it without using the dockerfile (using packages provided by your distribution) instead of decrypting the dockerfile syntax to translate it to a "normal" install.

Eragonfr avatar Oct 08 '22 10:10 Eragonfr

Currently, this is not possible. But I can add support for that. The question is what Linux distribution do you want to use? Debian, Ubuntu, RHEL, Centos, something else?

You need to keep in mind that it will be more complicated. Docker Compose takes care of spinning up some other supporting services. So you will need to set up manually:

  • Postresql
  • Redis
  • Clickhouse
  • MinIO
  • and some http server for reverse proxy How do you see it?

godfryd avatar Oct 10 '22 17:10 godfryd

Personally I am using an alpine linux, but I think that an explanation for Debian is better. Because there is a ton of debian-based distributions and once you have a tutorial for one distro it's easy to follow it and just convert the names of the packages to the user's distro.

The tutorial should only focuses on the configurations for the dependencies and the installation part of the Kraken server. Just say that the user needs to have Postgres, Redis, Clickhouse, MinIO and one http server (the tutorial should probably chose one as example). Then explain what are the special configurations needed on these services. (Open ports, add user, create database, …) And finish with the installation of Kraken itself.

Having a tutorial for that can also help to understand how the software works.

Eragonfr avatar Oct 14 '22 08:10 Eragonfr

OK, this makes sense. I will play with it.

godfryd avatar Oct 14 '22 11:10 godfryd

It took a while, but it is ready: https://kraken.ci/docs/install-manual Could you have a look?

godfryd avatar Dec 06 '22 18:12 godfryd

From what I've seen this is everything that someone can need to setup an instance. I have one question:
Is PostgreSQL 11 a requirement because you need specific features from it or is it like for MinIO, Redis and Clickhouse and you simply can't guarantee that it will work with a newer version ?

I will try to follow this document and setup an instance, this week or maybe next week.

Thanks for your work

Eragonfr avatar Dec 07 '22 10:12 Eragonfr

I didn't try newer Postgresql but for 99.9% I'm sure that it will work.

śr., 7 gru 2022, 11:39 użytkownik Eragon @.***> napisał:

From what I've seen this is everything that someone can need to setup an instance. I have one question: Is PostgreSQL 11 a requirement because you need specific features from it or is it like for MinIO, Redis and Clickhouse and you simply can't guarantee that it will work with a newer version ?

I will try to follow this document and setup an instance, this week or maybe next week.

Thanks for your work

— Reply to this email directly, view it on GitHub https://github.com/Kraken-CI/kraken/issues/216#issuecomment-1340746994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABLDN735SIZCZDTD5AUOBTWMBSPXANCNFSM6AAAAAARAGPKFE . You are receiving this because you commented.Message ID: @.***>

godfryd avatar Dec 07 '22 10:12 godfryd

I can't get clickhouse to work on Alpine, and I my Debian VM is completely broken. But outside of that the tutorial seems to work, thanks for it. This is resolved I think.

Eragonfr avatar Dec 20 '22 18:12 Eragonfr