!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

324 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena110 Servers

Load older messages


SenderMessageTime
18 Oct 2022
@v:meowy.tech@v:meowy.tech
In reply to @linus:schreibt.jetzt
then again, having both the encrypted secrets and the unencrypted SSH host key on disk isn't much different from having the unencrypted secrets on disk I guess
the various permissions on the file also matter, the nix store is world readable but the ssh host key probably isnt
09:10:16
@linus:schreibt.jetztLinux Hackermanright, but none of these approaches make the unencrypted secrets world-readable09:10:36
@linus:schreibt.jetztLinux Hackermanthat's definitely off the table for me ^^09:10:56
@v:meowy.tech@v:meowy.techMy setup with a hashicorp vault is probably overkill, but when set up it does work quite nicely I have to say09:11:40
@linus:schreibt.jetztLinux HackermanI kind of want to have something like that but I also don't want to set it up and maintain it x)09:12:05
@shyim:matrix.orgShyimI feel that too xD09:12:33
@shyim:matrix.orgShyimmore services more pain09:12:42
@linus:schreibt.jetztLinux HackermanSome services are pretty painless to maintain. Vault is not "some services" as far as I can tell ^^09:13:21
@shyim:matrix.orgShyim:D 09:13:41
@shyim:matrix.orgShyimso then I go to test this out. I have at work a benchmark cluster of 10 vps with ansible and it hurts setting up that always. So hope with colmena it will be better :D09:14:20
@linus:schreibt.jetztLinux Hackermanoof09:14:52
@linus:schreibt.jetztLinux HackermanDo they need to be long-lived? It may be more convenient to build disk images and use those rather than maintaining long-lived stateful servers09:15:26
@linus:schreibt.jetztLinux Hackermanat that scale09:15:36
@shyim:matrix.orgShyimand randomly apt-get servers are down. or some weird ansible modules fail to install 09:15:39
@v:meowy.tech@v:meowy.tech
In reply to @linus:schreibt.jetzt
Some services are pretty painless to maintain. Vault is not "some services" as far as I can tell ^^
Yeah it can take a bit of fiddling to get right, also the need to unlock the vault manually after a restart can be a bit of a bother
09:15:48
@shyim:matrix.orgShyimIt's just for benchmarking for 2 hours. automated in ci. Testing that the software scales09:16:23
@v:meowy.tech@v:meowy.techI maintain quite a few NixOS configurations with colmena without too much issue, it is definitely one of the better deployment tools for bigger sets of machines in my experience09:20:39
@v:meowy.tech@v:meowy.techimage.png
Download image.png
09:20:41
@linus:schreibt.jetztLinux Hackerman"null" is that the actual hostname?09:21:01
@v:meowy.tech@v:meowy.tech
In reply to @linus:schreibt.jetzt
"null" is that the actual hostname?
yeah it is haha, it's my laptop
09:21:10
@linus:schreibt.jetztLinux HackermanI'm going to write the deployment tool of my dreams one day09:23:14
@linus:schreibt.jetztLinux HackermanOr possibly extend deploy-rs to become the deployment tool of my dreams09:24:21
@v:meowy.tech@v:meowy.techdeploy-rs is nice but it was far too slow for my use case, switched to colmena from it09:24:54
@linus:schreibt.jetztLinux Hackermanoh really? What was slow about it?09:25:02
@linus:schreibt.jetztLinux HackermanI'm surprised because deploy-rs works with flakes a bit better so you should be getting more from the eval cache. AFAIU.09:25:40
@v:meowy.tech@v:meowy.techYeah but it builds/evaluates/deploys all the configs sequentially so with a lot of machines it just took an extremely long time09:27:08
@linus:schreibt.jetztLinux Hackermanoh really? Didn't know that09:27:36
@v:meowy.tech@v:meowy.techthere is this open issue on deploy-rs at least: https://github.com/serokell/deploy-rs/issues/4609:30:56
@shyim:matrix.orgShyimI almost deployed. It fails now to build the man-cache. Did anyone had this issue before? I did run just build with my server config :D 10:23:06
@v:meowy.tech@v:meowy.techwhat's the error?10:40:37

Show newer messages


Back to Room ListRoom Version: 6