mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2024-10-19 14:27:44 +00:00
infra monorepo (https://gerrit.hackerspace.pl)
Sergiusz Bazanski
c78cc13528
We change the existing behaviour (copy files & run nixos-rebuild switch) to something closer to nixops-style. This now means that provisioning admin machines need Nix installed locally, but that's probably an okay choice to make. The upside of this approach is that it's easier to debug and test derivations, as all data is local to the repo and the workstation, and deploying just means copying a configuration closure and switching the system to it. At some point we should even be able to run the entire cluster within a set of test VMs. We also bump the kubernetes control plane to 1.14. Kubelets are still at 1.13 and their upgrade is comint up today too. Change-Id: Ia9832c47f258ee223d93893d27946d1161cc4bbd |
||
---|---|---|
app | ||
bgpwtf | ||
bzl | ||
cluster | ||
dc | ||
devtools | ||
gcp | ||
go | ||
hswaw | ||
kube | ||
personal/q3k | ||
third_party | ||
tools | ||
.bazelrc | ||
.gitignore | ||
BUILD | ||
COPYING | ||
env.sh | ||
README | ||
WORKSPACE |
HSCloud ======= This is a monorepo. You'll need bash and Bazel 0.20.0+ to use it. You'll also need Nix installed globally in your system until [rules_nixpkgs/75](https://github.com/tweag/rules_nixpkgs/issues/75) is resolved. Or run on NixOS. Getting started --------------- cd hscloud . env.sh # setup PATH and hscloud_root tools/install.sh # build tools Then, to get Kubernetes access to k0.hswaw.net (current nearly-production cluster): prodaccess kubectl version You will automatically get a `personal-$USERNAME` namespace created in which you have full admin rights. For mor information about the cluster, see [cluster/README].