| 19 Oct 2022 |
roshan | byteio.in š· | In reply to @v:meowy.tech sent an image. how did you structure you all nixos configurations ? may i get template of this ?
Im managing all hosts in different folders
| 03:20:35 |
roshan | byteio.in š· | how can i install unstable version of colmena with nix profile install ? | 04:10:00 |
@v:meowy.tech | In reply to @ronixx:matrix.org
how did you structure you all nixos configurations ? may i get template of this ?
Im managing all hosts in different folders
https://github.com/nullx76/infrastructure | 06:01:51 |
Zhaofeng Li | In reply to @ronixx:matrix.org how can i install unstable version of colmena with nix profile install ? I suppose nix profile install github:zhaofengli/colmena should work, but I never tried it | 07:29:08 |
Zhaofeng Li | (Note that nix profile is incompatible with nix-env) | 07:29:18 |
roshan | byteio.in š· | In reply to @v:meowy.tech https://github.com/nullx76/infrastructure i have one question. Is your kubenetes cluster is managed ? like aws EKS or Digital Ocean Kuberneted managed or Self hosted.
how can i auto scale my service when there is high trafic on my website automatically ?
currently i m using colmena to deploy services with docker image build with Nix dockerTools.
| 09:27:44 |
@v:meowy.tech | In reply to @ronixx:matrix.org
i have one question. Is your kubenetes cluster is managed ? like aws EKS or Digital Ocean Kuberneted managed or Self hosted.
how can i auto scale my service when there is high trafic on my website automatically ?
currently i m using colmena to deploy services with docker image build with Nix dockerTools.
my cluster is self-hosted, and on k8s you could use a horizontal pod autoscaler for scaling | 09:32:27 |
@v:meowy.tech | https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ | 09:33:29 |
@v:meowy.tech | But honestly (although I don't know your situation) you're quite unlikely to need scaling | 09:34:15 |
roshan | byteio.in š· | In reply to @v:meowy.tech But honestly (although I don't know your situation) you're quite unlikely to need scaling yes, but i m learning nix and ported my all projects with flake and making docker images with nix and directly pointing flake in my colmena and now i want to go deep and implement auto scaling for my services | 09:36:03 |
roshan | byteio.in š· |  Download image.png | 09:36:35 |
roshan | byteio.in š· | im curious to knwo can i directly point my fastAppImage in kubenetes withour docker registry | 09:37:05 |
roshan | byteio.in š· | * im curious to knwo can i directly point my fastAppImage in kubenetes without docker registry | 09:37:19 |
@v:meowy.tech | hmm, good question. I've only really recently started messing with this stuff myself as well. So I don't really know, you could maybe ask in #cloud-native:nixos.org | 09:38:12 |
roshan | byteio.in š· | i'm a student,nix flake and colmena tool saved my money on buying docker registry service š„° | 09:40:25 |
@v:meowy.tech | You can also just host a docker-registry locally, that is what I do | 09:40:57 |
roshan | byteio.in š· | really ? i didn't know that. let me search | 09:42:37 |
@v:meowy.tech | here is how I set mine up in nix: https://github.com/NULLx76/infrastructure/blob/main/nixos/hosts/hades/docker-registry/configuration.nix#L16 | 09:43:21 |
roshan | byteio.in š· | vā: now i understood you are managing your ifra with kube + docker images and colmena only for local deployment. am i correct ? | 09:53:37 |
Wanja Hentze | Hey, I'm facing an issue with the (experimental) streaming evaluator:
when evaluation fails, it loudly and redly prints an error message, but returns with exit code 0 | 14:53:44 |
Wanja Hentze | Is this a known issue? I tried the github search but didn't find anything. | 14:54:29 |
Wanja Hentze | non-streaming evaluation returns a nonzero exit status as expected | 14:57:38 |
Wanja Hentze | I have opened https://github.com/zhaofengli/colmena/issues/122 to track this | 15:32:49 |
| 20 Oct 2022 |
Wanja Hentze | amazing turnaround time as usual ā¤ļø thanks so much Zhaofeng Li ! | 08:40:47 |
@garionion:entr0py.de | hey, this might be the wrong channe (please tell me if so). i want to switch another of my server configs over to colmena (instead of nixops), but i need to have an overlay, which as of now lives in a git submodule. however, the flake (->colmena) does not like this and does not find the files placed in this submodule. and i am not experienced enough to know how to properly import this and especially export the overlay itself | 09:08:26 |
@garionion:entr0py.de | also, there are not only pkgs in the submodule, but also config files and modules | 09:12:30 |
Wanja Hentze | you can use colmena in non-flake mode, then it'll "just work" | 09:16:14 |
@garionion:entr0py.de | but i would like to use it in flake mode :( | 09:37:03 |
Wanja Hentze | well, flakes and submodules are not friends | 09:37:16 |
Wanja Hentze | you can get rid of the submodule and make it a flake input instead | 09:38:32 |