4
0
Fork 2
mirror of https://gerrit.hackerspace.pl/hscloud synced 2025-03-20 01:14:52 +00:00
Find a file
radex 16d1802157 cluster/k1: add metallb
According to https://metallb.universe.tf/configuration/calico/ - we can now integrate with calico "the easy way", by disabling metallb speaker, and letting calico announce LoadBalancer IPs

Change-Id: I3ab36b13b6529c61907f8c124cae5c908a64d4be
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/2139
Reviewed-by: radex <radex@hackerspace.pl>
2025-01-20 14:59:17 +00:00
.devcontainer *: bump bazel version, bump nixpkgs, add prebuilt container image 2025-01-11 20:40:37 +00:00
.vscode devcontainer: initial vscode devcontainer setup 2025-01-06 11:48:00 +00:00
app kube: introduce everything.jsonnet 2025-01-18 07:25:09 +00:00
bgpwtf kube: introduce everything.jsonnet 2025-01-18 07:25:09 +00:00
bzl bazel: migrate to bzlmod 2025-01-11 20:40:37 +00:00
cluster cluster/k1: add metallb 2025-01-20 14:59:17 +00:00
dc *: migrate to embedsrcs 2025-01-17 22:30:24 +00:00
devtools kube: introduce everything.jsonnet 2025-01-18 07:25:09 +00:00
doc kube: standardize on omitting replicas: 1 2025-01-11 16:45:33 +00:00
games kube: introduce everything.jsonnet 2025-01-18 07:25:09 +00:00
gcp tools/secretstore.py: add radex's key 2025-01-08 00:51:59 +00:00
go *: migrate to embedsrcs 2025-01-17 22:30:24 +00:00
hswaw hswaw: remove cebulacamp/landing, pretalx 2025-01-20 08:45:35 +00:00
kube kube: introduce kube.libsonnet override convention 2025-01-17 22:33:44 +00:00
nix/readtree go/workspace: implement EvalHscloudNix 2023-06-19 22:23:52 +00:00
ops h/m/sound: update to 24.11 + related changes 2025-01-18 16:53:50 +00:00
personal kube: introduce everything.jsonnet 2025-01-18 07:25:09 +00:00
third_party *: fix ci_presubmit post-update 2025-01-17 22:30:44 +00:00
tools bazel: rename io_bazel_rules_go to rules_go 2025-01-11 20:40:37 +00:00
.bazelrc WORKSPACE: drop rules_docker completely 2025-01-17 22:30:44 +00:00
.bazelversion *: bump bazel version, bump nixpkgs, add prebuilt container image 2025-01-11 20:40:37 +00:00
.gitignore Add bazel error log to .gitignore 2021-03-21 22:25:09 +01:00
.gitreview *: add .gitreview 2024-10-31 20:46:44 +00:00
BUILD bazel: migrate to bzlmod 2025-01-11 20:40:37 +00:00
CEMETERY.md hswaw: remove cebulacamp/landing, pretalx 2025-01-20 08:45:35 +00:00
ci_presubmit.sh WORKSPACE: drop rules_docker completely 2025-01-17 22:30:44 +00:00
COPYING Update COPYING 2020-10-10 15:59:10 +00:00
default.nix *: bump bazel version, bump nixpkgs, add prebuilt container image 2025-01-11 20:40:37 +00:00
env.fish *: do not require env.sh 2021-10-17 21:21:58 +00:00
env.sh env.sh: do not set CC=clang in nix(os) 2023-10-14 11:51:39 +00:00
everything.jsonnet kube: introduce everything.jsonnet 2025-01-18 07:25:09 +00:00
go.mod bazel: fix broken clustercfg, prodaccess 2025-01-12 08:36:40 +00:00
go.sum bazel: migrate to bzlmod 2025-01-11 20:40:37 +00:00
hackdoc.toml devtools/hackdoc: init 2020-04-08 20:03:12 +02:00
MODULE.bazel WORKSPACE: drop rules_docker completely 2025-01-17 22:30:44 +00:00
MODULE.bazel.lock *: fix ci_presubmit post-update 2025-01-17 22:30:44 +00:00
OWNERS *: add radex to owners 2025-01-05 21:06:52 +00:00
README.md devcontainer: initial vscode devcontainer setup 2025-01-06 11:48:00 +00:00
shell.nix *: fix ci_presubmit post-update 2025-01-17 22:30:44 +00:00
WORKSPACE WORKSPACE: drop rules_docker completely 2025-01-17 22:30:44 +00:00

hscloud is the main monorepo of the Warsaw Hackerspace infrastructure code.

Getting started

See //doc/codelabs for tutorials on how to use hscloud.

If you want to browse the source of hscloud in a web browser, use cs.hackerspace.pl.

Initial setup: //doc/codelabs/getting-started/bazel-go.md

Initial bazel build for tools: bazelisk run //tools:install

For additional documentation go to //cluster

VSCode support

hscloud supports simpler setup and working with its source via dev containers. After opening the hscloud directory in VSCode, you should see a notification in the bottom right corner with suggested extensions. Currently the only suggested extension is the Dev Containers extension which allows you for one-click build of hscloud repository, without having to figure out all of its dependencies.

After building the container you should be able to create a new terminal from the vscode instance. It will be connected to the docker image which already has all the necessary tools built and included into your environment/PATH.

If you want some other help, talk to q3k, informatic or your therapist.

Directory Structure

Directories you should care about:

  • app: external services that we host that are somewhat universal: matrix, mastodon, etc.
  • bgpwtf: code related to our little ISP
  • cluster: code related to our Kubernetes cluster (k0.hswaw.net)
  • dc: code related to datacenter automation
  • devtools: code related to developer tooling, like gerrit or hackdoc
  • doc: high-level documentation that doesn't fit anywhere else, ie. codelabs
  • hswaw: Warsaw Hackerspace specific/internal services. The line between this and app is unfortunately blurry.
  • personal: user's personal (experimental) directories
  • kube, go: code specific to languages but general to the whole of hscloud

Licensing

Unless noted otherwise, code in hscloud is licensed under the BSD 0-clause license - see COPYING.