1
0
Fork 0
Commit Graph

961 Commits (9848e7e15f73226d56d3b5b3f7cbf173d7abb2c6)

Author SHA1 Message Date
q3k 9848e7e15f cluster: deploy NixOS-based ceph
First pass at a non-rook-managed Ceph cluster. We call it k0 instead of
ceph-waw4, as we pretty much are sure now that we will always have a
one-kube-cluster-to-one-ceph-cluster correspondence, with different Ceph
pools for different media kinds (if at all).

For now this has one mon and spinning rust OSDs. This can be iterated on
to make it less terrible with time.

See b/6 for more details.

Change-Id: Ie502a232c700af93f33fcad9fa1c57058161aa11
2021-09-11 20:33:24 +00:00
q3k 1dbefed537 Merge "cluster/kube: remove ceph diff against k0 production" 2021-09-11 20:32:57 +00:00
q3k 9f639694ba Merge "kartongips: switch default diff behaviour to subset, nag users" 2021-09-11 20:18:34 +00:00
q3k 29f314b620 Merge "kartongips: implement proper diffing of aggregated ClusterRoles" 2021-09-11 20:18:28 +00:00
q3k 4f0468fa26 cluster/kube: remove ceph diff against k0 production
This now has a zero diff against prod.

location fields in CephCluster.storage.nodes seem to have been removed
from the CRD at some point. Not sure how the CRUSH tree now gets
populated, but whatever, it's been working like this for a while
already. Same for CephObjectStore.gateway.type.

The Rook Operator has been zero-scaled for a while now due to b/6.

Change-Id: I30a836f273f4c1529f60fa9297c96b7aac412f59
2021-09-11 12:43:53 +00:00
q3k 59c8149df4 kartongips: switch default diff behaviour to subset, nag users
Change-Id: I998cdf7e693f6d1ce86c7ea411f47320d72a5906
2021-09-11 12:43:50 +00:00
q3k 72d7574536 kartongips: implement proper diffing of aggregated ClusterRoles
For a while now we've had spurious diffs against Ceph on k0 because of
a ClusterRole with an aggregationRule.

The way these behave is that the config object has an empty rule list,
and instead populates an aggregationRule which combines other existing
ClusterRoles into that ClusterRole. The control plane then populates the
rule field when the object is read/acted on, which caused us to always
see a diff between the configuration of that ClusterRole.

This hacks together a hardcoded fix for this particular behaviour.
Porting kubecfg over to SSA would probably also fix this - but that's
too much work for now.

Change-Id: I357c1417d4023691e5809f1af23f58f364353388
2021-09-11 12:40:18 +00:00
q3k d592e6836d Merge "ops, cluster: consolidate NixOS provisioning" 2021-09-11 10:38:43 +00:00
implr 7f7dcd9847 Merge "nix: upgrade readTree" 2021-09-11 10:19:03 +00:00
implr 56ff18c486 nix: upgrade readTree
Change-Id: I460800dc3d8095e2ae89b8bd6ed7c5f0c90b6ccf
2021-09-11 12:18:04 +02:00
q3k b3c6770f8d ops, cluster: consolidate NixOS provisioning
This moves the diff-and-activate logic from cluster/nix/provision.nix
into ops/{provision,machines}.nix that can be used for both cluster
machines and bgpwtf machines.

The provisioning scripts now live per-NixOS-config, and anything under
ops.machines.$fqdn now has a .passthru.hscloud.provision derivation
which is that script. When ran, it will attempt to deploy onto the
target machine.

There's also a top-level tool at `ops.provision` which builds all
configurations / machines and can be called with the machine name/fqdn
to call the corresponding provisioner script.

clustercfg is changed to use the new provisioning logic.

Change-Id: I258abce9e8e3db42af35af102f32ab7963046353
2021-09-10 23:55:52 +00:00
q3k 69ff6038d5 shell.nix: colorful prompt
https://object.ceph-waw3.hswaw.net/q3k-personal/815968ff10071d4192e464c91b64228e760128267311a94872006d87cbfd0bd9.png

Change-Id: Ia4eeddf045af0d0bdc962087aaeed55d11846648
2021-09-10 23:15:38 +00:00
q3k eed9afe210 Merge "bgpwtf: edge01: fix ipv4 static routing for customers" 2021-09-10 22:45:41 +00:00
arsenicum aef13358c8 personal - start
Change-Id: I0f1972a095b5a41cad727dbc37fcd454d308050d
2021-09-09 18:26:33 +02:00
q3k 81e7fbaadd bgpwtf: edge01: fix ipv4 static routing for customers
Change-Id: I9c34d12a7947c9bb25331e38ea7ee03beede7e47
2021-09-08 23:40:29 +02:00
q3k 11248d88ab bgpwtf: edge01: add new client networks, remove old q3k network, limit nscd
Batch of small changes. Already deployed.

Change-Id: Ieb4f418699f497c7013e617fd7d1827e71a7a415
2021-09-06 12:07:42 +00:00
q3k 0f11b3c850 hswaw/site: deploy
Change-Id: I3c8aff05f339f3154cb80831099482f0d97a360e
2021-09-04 21:32:30 +02:00
q3k 62e50da881 Merge "tweak blink animation & add gallery" 2021-09-04 18:41:07 +00:00
q3k 5001851808 Merge "hswaw/site: fix twitter link" 2021-09-04 18:40:50 +00:00
q3k d0c9c414cf hswaw/site: deploy
Change-Id: I2ea68f07c81859ffea99ad5b107b14876422288b
2021-09-04 18:38:42 +00:00
informatic 381514ead3 hswaw/site: fix twitter link
Change-Id: I7ec93e1cfe8ac7e4b8949d356109c060c51f187d
2021-09-02 11:07:20 +02:00
radex 41a3cfe04c tweak blink animation & add gallery
Change-Id: I1a1cd568e7982bf4e8e31f9e21897db53e59727f
2021-09-01 21:55:07 +02:00
radex d88a2e2377 improve fonts & animations
Change-Id: I2a586243035e84136b2a309dc6ce26ab21f8925d
2021-08-30 21:28:59 +02:00
q3k 717aad4ac6 hswaw/site: wip new layout
Change-Id: I4da3a668429dee42c7292accb9e24b93703f1538
2021-08-30 21:00:59 +02:00
q3k c35d52b19e *: update build_naming_convention for new rules_go
Change-Id: Ib1604a46d24969ae0110985cda156d31b7cc27aa
2021-08-30 18:21:03 +00:00
radex 38203d2dbe *: update for M1 support
preliminary pass to build site on an M1 Mac

Change-Id: I89e6ac5874bbb8db92040ec98717fc0ed3ee4455
2021-08-30 18:58:54 +02:00
q3k d0b76e62b9 WORKSPACE: remove duplicate library
Change-Id: Ia165c1a44ffb557f37e5a61d372d945016190e08
2021-08-30 18:46:23 +02:00
q3k 432fa30ded cluster/certs: bump ca-kube-prodivider
Redeployed.

Change-Id: I01110433f89df5595de0f9587508104d6091a774
2021-08-29 17:20:59 +00:00
q3k 39942ccc50 q3k: random stuff from local git checkout
Change-Id: I497a3ca080ac2124d05f49bb8bee5766254134b4
2021-08-29 18:21:39 +02:00
q3k e3ea97b76b bgpwtf/internet: new consumer ToC/pricelist
Change-Id: Ic7b03b04d59b3134aeff07a649c01e8745c46b1e
2021-08-29 18:19:53 +02:00
q3k 95088bdd7b Merge changes I3c947080,I2a3d7e03,I3e0c834a,I5ed741b6
* changes:
  hswaw/cebulacamp: update ticket info, fix CSS
  cebulacamp: deploy
  third_party/go: fix vbom.ml dependency
  default.nix: bump nixpkgs
2021-08-14 16:05:52 +00:00
q3k ec22027e19 hswaw/cebulacamp: update ticket info, fix CSS
Change-Id: I3c947080cec1ae93642cc124db20584e2767061f
2021-08-14 16:04:57 +00:00
q3k 9739e07d67 Merge "bgpwtf/machines: allow new customer prefix from hscloud/dcr01sw37" 2021-08-11 16:50:48 +00:00
q3k bbf56cf7e1 cebulacamp: deploy
Change-Id: I2a3d7e036e2cb222b37c19bd22a059775750b8cf
2021-08-11 16:50:30 +00:00
q3k cd5533e02d third_party/go: fix vbom.ml dependency
Looks like .ml DNS servers are currently down, and this repository
import path is deprecated anyway. Really, we should bump Kubernetes...

Change-Id: I3e0c834a49ccf1111b9412371489bae5f80ff6ab
2021-08-11 16:50:30 +00:00
q3k c31887e857 default.nix: bump nixpkgs
This fixes some issues with buildFHSUserEnv on newer NixOSes, where
stuff from the /run/current-system/sw/bin/* would want a newer glibc
than the glibc available in the FSHUserEnv. Whoops.

Change-Id: I5ed741b6d7979eb288fe6f88984bc5e6d0bdb923
2021-08-11 16:49:21 +00:00
q3k bae0604e1e cebulacamp: update for new date
Change-Id: Idab6ae894d7d909150267d22ace1ce732e6f7b05
2021-08-11 15:56:59 +00:00
q3k 3e5f4382df minecraft: enable command blocks on ctm map
Change-Id: Ie6b6c58d7e920a62908d8d8f0c0291bbf5c666f4
2021-07-21 17:22:44 +00:00
Remigiusz Marcinkiewicz ff79daaf44 minecraft: switch CTM server to vanilla MC
Change-Id: I8189b7c544ba3c7ae3a62fdd4105119e9d18317a
2021-07-21 15:51:59 +00:00
q3k f0a38ba761 minecraft: allow enleth@ to administer namespace
Change-Id: I149a01b5d216f112f3e4a90da1e833bca5712777
2021-07-21 14:57:37 +00:00
q3k 400e03fe00 bgpwtf/machines: allow new customer prefix from hscloud/dcr01sw37
Change-Id: Ieb742d3256aa6dd0c1bb28c298f3d2c41b093712
2021-07-21 14:56:29 +00:00
q3k 4afed98e4e minecraft: add CTM server
Change-Id: Ic4590bbab4cdbefe0db05f1026363b11f7973794
2021-07-21 14:42:14 +00:00
q3k 61e93026a9 Merge changes I8e57bb58,I19757abe
* changes:
  bgpwtf/machines/tests: fix edge01.waw test for new prefix
  bgpwtf/machines/modules: fix bird_exporter
2021-07-19 20:18:10 +00:00
q3k 14f4a8b762 bgpwtf/machines/tests: fix edge01.waw test for new prefix
520f150134 changed the prefix exported
from a /23 to a /24, this broke this test.

Change-Id: I8e57bb58d816d441a17ec57ecd0881ad4facd38f
2021-07-19 22:12:30 +02:00
q3k 0fc01a969b bgpwtf/machines/modules: fix bird_exporter
v.1.2.5's hash broke, let's just swiftly ignore this and update to
1.2.6.

Change-Id: I19757abeb2f279be6f56ca429441503710ed433f
2021-07-19 22:12:30 +02:00
mlen 8d50848195 Merge "shell.nix: add git to targetPkgs" 2021-07-18 18:24:59 +00:00
mlen dd5090d0a8 app/matrix: bump appservice-irc to 0.27.0
Change-Id: I93ba1c5a6d31f5cce0e801b7a0cf44d02a6a37f8
2021-07-18 18:10:11 +00:00
mlen 51f6c10660 shell.nix: add git to targetPkgs
nix-shell attempts to use packages from the system and fails to find git
installed via users.users.<name>.packages.  Adding it to targetPkgs
resolves the issue and makes the dependency explicit.

Change-Id: Ie0c3e48065174a5032ced9c31236f65255483d08
2021-07-18 18:08:27 +00:00
q3k 21be807b05 Merge changes I81b22398,I19a72da6
* changes:
  hswaw/site: add spaceapi
  hswaw/site: add checkinator integration
2021-07-18 13:47:19 +00:00
q3k 77598faea2 Merge "games/factorio: pymods: bump up resources again" 2021-07-18 13:26:44 +00:00