1
0
Fork 0
 
 
 
 
 
 
Go to file
q3k 1e6b52a194 tools/: add nixops
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.
2019-05-15 19:08:25 +02:00
app app/registry: allow anonymous pull access and temporary vms/ push access 2019-04-19 14:41:10 +02:00
bzl *: bazelify 2019-01-13 17:51:34 +01:00
cluster cluster/kube/cert-manager: don't add APIService when webhooks are disabled 2019-05-05 12:12:13 +02:00
go go/svc/invoice: statusz cleanups 2019-05-01 17:11:47 +02:00
kube app/toot: start implementing redis 2019-04-04 16:54:00 +02:00
nix nix/cluster-configuration: pin nixpkgs for k8s 2019-05-14 01:45:48 +02:00
proto go/svc/invoice: refactor 2019-05-01 15:27:49 +02:00
tools tools/: add nixops 2019-05-15 19:08:25 +02:00
.gitignore *: bazelify 2019-01-13 17:51:34 +01:00
BUILD *: bazelify 2019-01-13 17:51:34 +01:00
COPYING isc license 2018-10-25 14:25:36 +02:00
README tools/: add nixops 2019-05-15 19:08:25 +02:00
WORKSPACE tools/: add nixops 2019-05-15 19:08:25 +02:00
env.sh *: k0.hswaw.net somewhat working 2019-01-13 21:14:02 +01:00
requirements.txt tools: add python future module 2019-01-18 00:22:50 +01:00

README

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.