JacksonWrath / k8s-config-weebcluster

This repo aims to define the state of my primary cluster.
MIT License
0 stars 0 forks source link

Migrate to Tanka #9

Open JacksonWrath opened 9 months ago

JacksonWrath commented 9 months ago

Since I've already started deploying with Tanka, let's get a few more things migrated for some practice.

JacksonWrath commented 8 months ago

Migrated Tailscale. Definitely a learning curve.

I stumbled across a tutorial from the jsonnet-libs repo which explicitly calls out both the _config pattern and the usage of $ Loki is doing as bad form.

The better solution is to use functions it seems, so I'll probably rewrite what I have to do that before moving anything else.

Something I don't particularly like: the jsonnet vscode extension isn't amazingly rich. It recognizes the language nicely, has basic autocomplete, detects the Tanka lib/vendor locations, and does eval of a file, but it doesn't pull in any documentation for IntelliSense, and the autocomplete doesn't handle everything perfectly, e.g.:

JacksonWrath commented 8 months ago

Outside of helm, everything that is reasonable to migrate is done. Things like manifests for custom resources that basically never change aren't worth rewriting (Calico config, for example). I'll move these to a separate folder to clean up the root.

JacksonWrath commented 3 months ago

Basically done. Decided to just use the k3s helm-controller for helm charts, and define the HelmChart resources myself.

Major thing remaining is MinIO: