forked from hswaw/hscloud
Sergiusz Bazanski
1e6b52a194
This now means we require Nix to be installed globally. This shouldn't be the case in the long run, but will be until https://github.com/tweag/rules_nixpkgs/issues/75 gets fixed or we maybe move from rules_nixpkgs to nix-bundle or something similar.
36 lines
1 KiB
Text
36 lines
1 KiB
Text
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 Kubernets:
|
|
|
|
echo "185.236.240.36 k0.hswaw.net" >> /etc/hosts # temporary hack until we get loadbalancers working
|
|
bazel run //cluster/clustercfg:clustercfg admincreds $(whoami)-admin # get administrative creds (valid for 5 days)
|
|
kubectl version
|
|
|
|
Clusters
|
|
========
|
|
|
|
The following kubernetes clusters are available:
|
|
|
|
k0.hswaw.net
|
|
------------
|
|
|
|
3 nodes (bc01n{01,02,03}.hswaw.net), mixed worker/master.
|
|
|
|
No persistent storage (yet).
|
|
|
|
Temporary development cluster. Will become base production cluster once configuration is done, but will *likely be fully cleared*.
|
|
|
|
Feel free to use for tests, but your pods might disappear at any time.
|