norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.4K
active users

#k8s

15 posts12 participants2 posts today

Been doing some Kubernetes API design today. It's thoughtful but not in quite the way other software design has felt.

I suppose the constraints make it easier to avoid some common mistakes. Spending quite a bit of effort though just wrangling GoLang types and kubebuilder annotations to try and get it how it ought to be.

Helm charts are great for managing applications but a massive pain to prep for initial deployment, am I doing this wrong?

With a new chart, I spend time reading through chart values and reading over the templates to see if certain features are supported by the chart or not. Reading go templates isn't exactly how I enjoy spending my time

When you create a chart, the default template supports a lot of standard features (overriding labels, setting TLS details for the ingress, securityContext, etc) which is fantastic... When I find a ready made chart on GitHub, I find that people have renamed some of these or stripped them out. I'm using NFS storage which means I think about process UID/GID a lot and typically create PVCs manually to be mounted in specific places which sometimes works great and sometimes not so much

I feel like I missed the boat with k8s-at-home which had an incredible collection of ready-made charts but it's a shame it's gone dark since :sadness:

Continued thread

OK, I found a way that seems to work in all phases:
- the migrations pod is not yet started (PodInitializing)
- the migrations pod is running
- the migrations pod has been Completed

This part waits for the pod to exist (no matter its state):
codeberg.org/johanneskastl/git

This part waits for the pod to be in Completed state:
codeberg.org/johanneskastl/git

I did not use the module's wait functionality as I could not get it to work the way I want. So I used what I often use: Ansble's `until` together with a `json_query` filter.

So... I saw Aspire #dotnet demo first time last Friday, I am true tech adoption laggard :), but it was by brilliant Ratko Čosić and it was fab.

What I mostly liked is the dashboard UI, really cool. I also found out about #aspir8 tool to generate #k8s yamls, here is a nice blog on all of it: medium.com/@josephsims1/aspire

Medium · .NET 8, Aspire, & Aspir8: Deploy Microservices Into Dev Environments Effortlessly with CLI — No Dockerfiles or YAML Needed! Plus, a Little YarpBy Joseph Whiteaker