Table of Contents

hscloud

VMs are coming any day now ~q3k, A.D. 2018

Our new internal highly-available Infrastructure/Platform-as-a-Service.

This runs in our datacenter (dcr01 on netbox). This is different from our ISP services or internal machines.

Components

Currently hscloud is made up of a Kubernetes cluster named k0.hswaw.net. It runs on the following machines: bc01n01, bc01n02, bc01n03, dcr01s22, dcr01s24. In total we have 328GB of RAM and 144 x86 cores. We also have a half PB of storage on old SAS drives (most of it currently cold), accessible via Ceph (radosgw or Kubernets PersistentVolumes).

Tenants

We are moving services from our old machines into Kubernetes. Amongst other, currently running on the cluster is:

With more to come.

You are also free to host your own personal stuff there within reason. See below for access.

Boston Evacuation Aktion

Here's a list of services that currently live on Boston Packets, but we'd like to migrate to hscloud. Ask on #infra on how to contribute.

Monitoring

https://monitoring-global-dashboard.k0.hswaw.net/

Documentation, Getting Access and Usage

Self-documenting in hackdoc (hscloud documentation stored within hscloud): https://hackdoc.hackerspace.pl/doc/codelabs/index.md

Deploy docker image to hscloud

TBD, WIP: You need to describe a deployment of your docker image in the same way as it's done for https://cs.hackerspace.pl/hscloud/-/tree/hswaw/paperless .

Build your docker image by running following command:

docker build --tag registry.k0.hswaw.net/$YOUR_USERNAME/$APP_NAME-$APP_VERSION

Get your login credentials by going to this site https://registry.k0.hswaw.net/ and authenticating via SSO. You should get a command by which you'll login to our docker registry.

Afterwards, push your image by using

docker push registry.k0.hswaw.net/$YOUR_USERNAME/$YOUR_IMAGE_TAG

Commands with example data

docker build --tag registry.k0.hswaw.net/palid/walne-generator:1.0-alpha
docker push registry.k0.hswaw.net/palid/walne-generator:1.0-alpha

Resources/Services

Here is a list of common external/internal services used by apps hosted in hscloud, with guidelines on how to get access to those: