!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
19 Oct 2022
@ronixx:matrix.orgroshan | 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
@ronixx:matrix.orgroshan | byteio.in 🌷how can i install unstable version of colmena with nix profile install ?04:10:00
@v:meowy.tech@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:zhaofeng.liZhaofeng 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:zhaofeng.liZhaofeng Li (Note that nix profile is incompatible with nix-env) 07:29:18
@ronixx:matrix.orgroshan | 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@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@v:meowy.techhttps://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/09:33:29
@v:meowy.tech@v:meowy.techBut honestly (although I don't know your situation) you're quite unlikely to need scaling09:34:15
@ronixx:matrix.orgroshan | 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
@ronixx:matrix.orgroshan | byteio.in 🌷image.png
Download image.png
09:36:35
@ronixx:matrix.orgroshan | byteio.in 🌷im curious to knwo can i directly point my fastAppImage in kubenetes withour docker registry09:37:05
@ronixx:matrix.orgroshan | byteio.in 🌷 * im curious to knwo can i directly point my fastAppImage in kubenetes without docker registry09:37:19
@v:meowy.tech@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
@ronixx:matrix.orgroshan | 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@v:meowy.techYou can also just host a docker-registry locally, that is what I do09:40:57
@ronixx:matrix.orgroshan | byteio.in 🌷really ? i didn't know that. let me search 09:42:37
@v:meowy.tech@v:meowy.techhere is how I set mine up in nix: https://github.com/NULLx76/infrastructure/blob/main/nixos/hosts/hades/docker-registry/configuration.nix#L1609:43:21
@ronixx:matrix.orgroshan | 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
@whentze:matrix.orgWanja HentzeHey, 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 014:53:44
@whentze:matrix.orgWanja HentzeIs this a known issue? I tried the github search but didn't find anything.14:54:29
@whentze:matrix.orgWanja Hentzenon-streaming evaluation returns a nonzero exit status as expected14:57:38
@whentze:matrix.orgWanja HentzeI have opened https://github.com/zhaofengli/colmena/issues/122 to track this15:32:49
20 Oct 2022
@whentze:matrix.orgWanja Hentze amazing turnaround time as usual ā¤ļø thanks so much Zhaofeng Li ! 08:40:47
@garionion:entr0py.de@garionion:entr0py.dehey, 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 itself09:08:26
@garionion:entr0py.de@garionion:entr0py.dealso, there are not only pkgs in the submodule, but also config files and modules09:12:30
@whentze:matrix.orgWanja Hentzeyou can use colmena in non-flake mode, then it'll "just work"09:16:14
@garionion:entr0py.de@garionion:entr0py.debut i would like to use it in flake mode :(09:37:03
@whentze:matrix.orgWanja Hentzewell, flakes and submodules are not friends09:37:16
@whentze:matrix.orgWanja Hentzeyou can get rid of the submodule and make it a flake input instead09:38:32

Show newer messages


Back to Room ListRoom Version: 6