Make things more configurable

This commit is contained in:
Jonas Juselius
2019-10-17 16:05:47 +02:00
parent 53e25ffb22
commit 81717fe223
12 changed files with 154 additions and 43 deletions

View File

@@ -1,10 +1,11 @@
with import <nixpkgs> {};
let
settings = rec {
clusterName = "kube1";
master = "k1-0";
workers = [ "k1-1" "k1-2" ];
masterAddress = "10.253.18.109";
apiserverAddress = "https://${masterAddress}:8443";
apiserverAddress = "https://${masterAddress}:4443";
clusterHosts = ''
10.253.18.109 k1-0 kubernetes fs0-2
10.253.18.110 k1-1