deploy zookeeper, k3s
This commit is contained in:
parent
4613f66cf2
commit
d61b7a376c
2 changed files with 3 additions and 2 deletions
|
@ -44,6 +44,7 @@
|
||||||
"--cluster-init" # Enable embedded etcd
|
"--cluster-init" # Enable embedded etcd
|
||||||
"--disable=servicelb" # disable servicelb
|
"--disable=servicelb" # disable servicelb
|
||||||
"--no-deploy=traefik" # we want to configure traefik ourselves (or use nginx instead)
|
"--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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,16 +41,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: Make a function for adding hostnames to k8s endpoint(s).
|
||||||
virtualHosts."zookeeper.0x76.dev" = {
|
virtualHosts."zookeeper.0x76.dev" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://10.42.43.28:8085/";
|
proxyPass = "http://10.42.42.150:8000/";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: Make a function for adding hostnames to k8s endpoint(s).
|
|
||||||
virtualHosts."wooloofan.club" = {
|
virtualHosts."wooloofan.club" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue