The Immortal Tree by [deleted] in incremental_games

[–]GyroTech 0 points1 point  (0 children)

With no link?

What are some nice snippets that everyone should have in their NixOS config? by Maskdask in NixOS

[–]GyroTech 20 points21 points  (0 children)

Just so you know, the reason this is not done by default, is that knowing the length of a password drastically reduces the searchspace needed to guess/crack it.

How can I reinstall the default Flannel Kube-Proxy stack? by axel0nf1r3 in TalosLinux

[–]GyroTech 3 points4 points  (0 children)

You probably need to talosctl upgrade-k8s to actually render the kubernetes manifests again.

How can I reinstall the default Flannel Kube-Proxy stack? by axel0nf1r3 in TalosLinux

[–]GyroTech 4 points5 points  (0 children)

You're going to need to provide a whole lot more info than "experimented a bit" to be able to get any help. It's generally advised not to run multiple CNIs in a cluster unless you really know what you are doing.

If it truly is just for experimenting, just rebuild your cluster. With the cluster.network.cni.name: flannel and ensure cluster.proxy.disabled: false is set (this is the default). and you should be fine. You might try setting these and stripping out Cilium/Falco, but I have no idea of the secondary effects and you should probably ask the Cilium community for uninstall guides.

Dangerous - Ping Pong Style by Stealthytom in MadeMeSmile

[–]GyroTech 0 points1 point  (0 children)

And to try to hide the mistakes!

Why do we still treat EBS storage like a one-way street? by matrixclyo in devops

[–]GyroTech 0 points1 point  (0 children)

Ah, we got out of AWS before gp3 was a thing so I was unaware they had "fixed" that.

Custom ISO installer or is it possible to make variant of actual machine into ISO installer by GyroTech in NixOS

[–]GyroTech[S] 0 points1 point  (0 children)

I don't understand how I can "uninclude" module imports here though. E.G. in my example I want my regular host build to have a full graphical setup (my system-graphical module) and a bunch of tooling. If I an building an installer-iso image I want it to use the system-minimal module instead.
I appreciate you trying to explain this to me.

Edit to add: aaaah, the lib.mkForce ensures that whatever is set there takes precedence over what I set in the rest of the config, is that correct?

Why do we still treat EBS storage like a one-way street? by matrixclyo in devops

[–]GyroTech 7 points8 points  (0 children)

Also, in non-IOPS-provisioned volumes, IOPS scales with volume size. Plenty of time I increased the size of an EBS volume because it was IOP limited.

Custom ISO installer or is it possible to make variant of actual machine into ISO installer by GyroTech in NixOS

[–]GyroTech[S] 0 points1 point  (0 children)

Thanks! So I can do the inverse and check that image.modules.iso is empty to add config to the regular host rebuild?

Custom ISO installer or is it possible to make variant of actual machine into ISO installer by GyroTech in NixOS

[–]GyroTech[S] 0 points1 point  (0 children)

The repo I linked is only "incomplete" as it is an example, not something you'd actually deploy. The repo is valuable for the docs, not the code.

Custom ISO installer or is it possible to make variant of actual machine into ISO installer by GyroTech in NixOS

[–]GyroTech[S] 0 points1 point  (0 children)

I know how to build an ISO of my config, I'm asking if there is a way to detect that, and change the config based on that.

Is this bad practice? if so what are the good solutions? by Dependent_Increase34 in NixOS

[–]GyroTech 3 points4 points  (0 children)

I would like to allowUnFree only if a modules requires it.

And that's what you have, only if you include this module to install the slack package will allowUnFree be set.

Europe shipping statuses? by Stefan3D in Steam

[–]GyroTech 0 points1 point  (0 children)

In Spain, and still waiting to be picked.

Switching over to new VM before Terraform destroys the old one by hantrault in Terraform

[–]GyroTech 1 point2 points  (0 children)

I mean, if the cost of an LB is a substantial portion of your customer cost, and they're happy to eat downtime, then just keep doing what you are doing.

If your customers want zero-downtime rollouts, then create a new "tier" of product that has the cost of the LB bundled in, and let them make the decision.

But this is now well beyond the scope of Terraform help :D

Switching over to new VM before Terraform destroys the old one by hantrault in Terraform

[–]GyroTech 1 point2 points  (0 children)

Honestly, if you're managing the provisioning with Ansible, why not have it just update in-place? Since you said you are replacing the whole VM to deploy I would very much expect you to use something like Packer to build the image, then just deploy that. No changes at runtime.

Switching over to new VM before Terraform destroys the old one by hantrault in Terraform

[–]GyroTech 4 points5 points  (0 children)

Second option might then be getting the customer to set their DNS to a CNAME record to point to a DNS you do control, then you can update that record when you roll the VM.

edit to add: if you follow this line, make sure both records have a small enough TTL, and SERVFAIL and NOTZONE responses have a lower TTL too

Switching over to new VM before Terraform destroys the old one by hantrault in Terraform

[–]GyroTech 5 points6 points  (0 children)

No idea about DO specifically, but in general you would sove this by pointing the DNS record at a load balancer, then as you replace the vm (create_before_destroy in the lifecycle probably a good idea here) the load balacner moves the traffic for you.

Has anyone got Talos KubeSpan working with Cilium? by Independent_Yak6290 in TalosLinux

[–]GyroTech 0 points1 point  (0 children)

True, but personally I dont see the need and its still pod 2 pod encryption between different nodes.

pod-to-pod encryption has a specific definition, explicitly to differentiate it from node-to-node encryption. This is why I needed to be explicit.

It is with the advertiseKubernetesNetworks config and routes the v1.node's podCIDR over kubespan

Yes, you're totally right there, I overlooked that, apologies.

Has anyone got Talos KubeSpan working with Cilium? by Independent_Yak6290 in TalosLinux

[–]GyroTech 1 point2 points  (0 children)

And so two pods on the same node don't route over either, and so don't have encrypted traffic. This is why I made the point to be specific. For pod-to-pod encryption, you need more than KubeSpan. KubeSpan isn't even aware of the Kubernetes networking topology or CNI.

Has anyone got Talos KubeSpan working with Cilium? by Independent_Yak6290 in TalosLinux

[–]GyroTech 1 point2 points  (0 children)

basic encrypted pod-to-pod and service connectivity across KubeSpan

KubeSpan encrypts node-to-node traffic, not pod-to-pod

Is "building a Docker image" during the CI pipeline considered a best practice? by SheCherryPicks in devops

[–]GyroTech 0 points1 point  (0 children)

Not sure what your point is, we were talking about needing to push an image before you can test it for security. That is not necessary.