deploy zookeeper, k3s

This commit is contained in:
Vivian 2021-10-30 15:59:28 +02:00
parent 4613f66cf2
commit d61b7a376c
2 changed files with 3 additions and 2 deletions

View file

@ -44,6 +44,7 @@
"--cluster-init" # Enable embedded etcd
"--disable=servicelb" # disable servicelb
"--no-deploy=traefik" # we want to configure traefik ourselves (or use nginx instead)
"--cluster-cidr=10.69.0.0/16" # the default of 10.42.0.0/16 clashes with my own network
];
};
}

View file

@ -41,16 +41,16 @@
};
};
# TODO: Make a function for adding hostnames to k8s endpoint(s).
virtualHosts."zookeeper.0x76.dev" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://10.42.43.28:8085/";
proxyPass = "http://10.42.42.150:8000/";
proxyWebsockets = true;
};
};
# TODO: Make a function for adding hostnames to k8s endpoint(s).
virtualHosts."wooloofan.club" = {
enableACME = true;
forceSSL = true;