adamt has quit [Ping timeout: 244 seconds]
johanot has joined #nixos-kubernetes
ixxie has joined #nixos-kubernetes
adamt has joined #nixos-kubernetes
adamt is now known as Guest645
Guest645 has quit [Changing host]
Guest645 has joined #nixos-kubernetes
Guest645 is now known as adamt
johanot has quit [Quit: WeeChat 2.2]
<therealwaphire[m> guys
<therealwaphire[m> how would I go about adding nodes?
<srhb> therealwaphire[m: Which method are you using to get k8s?
<therealwaphire[m> right now I only have:
<therealwaphire[m> `services.kubernetes.roles = [ "master" "node" ];`
<therealwaphire[m> + options for kubelet to not fail on swap
<therealwaphire[m> I went through johanot's setup several times but I can't seem to get my head around it
<srhb> Mkay, it's a bit of a chore to set up on the old module unfortunately.
<therealwaphire[m> oh
<srhb> Theoretically it involves setting node on each of the node machines, and filling out all the blanks to make it able to contact the master infrastructure
<therealwaphire[m> what's different in the new 19.03 module?
<srhb> As long as you keep everything completely insecure, it's not so bad..
<srhb> therealwaphire[m: That's johanots changes :)
<therealwaphire[m> wdym
<srhb> With the insecure part?
<therealwaphire[m> yeah
<srhb> Dealing with certs in the old system is like... 20 options or something like that :P
<srhb> And manual provisioning
<therealwaphire[m> lol
<therealwaphire[m> can I keep using ZFS 0.7.2 if I upgrade to 19.03?
<srhb> therealwaphire[m: nix eval -f channel:nixos-18.09 linuxPackages.zfs.name
<srhb> Mind that 19.03 is _not_ released yet.
<srhb> Oops
<therealwaphire[m> I know, haha
<srhb> I pasted the wrong channel in that command
<srhb> Adjust as needed :)
<therealwaphire[m> hence the reluctance to upgrade :P
<srhb> As you should be. :)
<srhb> But run the above command, substituting the correct channel name in
<srhb> That way you can query versions from arbitrary channels and answer the question yourself in the future :)
<therealwaphire[m> what do you recommend though? should I bother configuring kubes on 18.09
<srhb> Need more data. Is this a production system?
<srhb> To be honest, even then, I probably would not bother..
<srhb> You'll need to adjust in a month or so :)
<therealwaphire[m> not really a production system, haha
<therealwaphire[m> gonna run my own stack of applications there
<therealwaphire[m> a bunch of blogs, plex, nextcloud, etc
<therealwaphire[m> so okay, let's say I do upgrade to 19.03
<therealwaphire[m> where do I go from there?
<srhb> therealwaphire[m: I'd start by building the 19.03 manual and exploring the options
<therealwaphire[m> is the manual not included by default?
<srhb> therealwaphire[m: If you have the relevant option enabled. I don't recall its default value
<therealwaphire[m> I see
<therealwaphire[m> okay, well
<therealwaphire[m> can you explain what this does: `nix eval -f channel:nixos-18.09 linuxPackages.zfs.name` ?
<srhb> it evaluates the value of linuxPackages.zfs.name from the channel nixos-18.09
<srhb> And name usually includes the version number.
<therealwaphire[m> turns out all I had to do is `boot.zfs.enableUnstable = false;` and it didn't upgrade to 0.8
<srhb> :)
adamt has quit [Ping timeout: 244 seconds]
<therealwaphire[m> so how do I get a full on options list for 19.03?
<therealwaphire[m> built the manual
<therealwaphire[m> np
ixxie has quit [Ping timeout: 250 seconds]