Email or username:

Password:

Forgot your password?
Andrew Tropin

Fully-declarative deployment of 2-nodes Kubernetes cluster :kubernetes: successfully done with Guix :guix:!

The only manual step was generating a worker token to connect a worker kubernetes node to the controller and copying it to the respective host. It can be automated, but not today.

Check out the source code: cons.town

Imagine, what kind of fun we can have with it now?

#guix #kubernetes #k8s #k0s #nix #nixos

7 comments
Simon Josefsson

@abcdw Nice work! What are the limitations of your work? How far away is this from being able to connect (for example) a gitlab instance to a Guix kubernetes cluster? Is there any cloud-init awareness in your setup?

Andrew Tropin

@jas At the moment you need to manually connect worker nodes to controller nodes by generating and sharing tokens. Other than that it seems as a perfectly normal kubernetes installation.

Not sure what do you mean by gitlab connection to k8s cluster.

There is a partial and very bare-bone implementation of cloud init we use:
git.sr.ht/~abcdw/rde/tree/11fb
Written by David Dashyan and @krevedkokun.

Mark Derricutt (talios)

@abcdw Sounds awesome - hard to see exactly whats going on fully just in that screenshot - would love to see a short video going thru what you've got working here.

Andrew Tropin

@talios Good idea, mb I'll make one, when I get a little more experience with this setup, so I can have more details to talk about.

futurile

@abcdw Can the cloud init stuff be upstreamed? That would be great to have in #guix

Go Up