Altinn / altinn-decision-log

Log for architecture and design/ux decisions across Altinn teams and products
0 stars 0 forks source link

Organize Kubernetes resources into namespaces #6

Closed martinothamar closed 1 month ago

martinothamar commented 5 months ago

Status

Accepted - 19.09.2025

Decision

We should always follow best practices for Kubernetes namespaces.

To be concrete, this means:

Context

While working on Maskinporten integration and automation in Altinn 3, we also discussed more general improvements around resource organisation in app clusters. This was something that had been discussed before in the Platform team.

Currently most resources are located in the default namespace of our clusters. Namespaces are practical in applying separation at various levels

Consequences

martinothamar commented 5 months ago

cc @sduranc @bengtfredh - it's been a little while since we talked about this, but we agreed that I would post an ADR so here we are 😄 feel free to correct and/or rewrite as needed

HauklandJ commented 5 months ago

Need -A or similar to make cross-app queries and similar

True, but this should be trivial for anyone working with k8s CLI.

bengtfredh commented 1 month ago

I think the architecture decision should be more broad. We want to follow best practice. Namespace apps running in Kubernetes (platform, apps, etc.)

altinnadmin commented 1 month ago

I think the architecture decision should be more broad.

@bengtfredh Agreed. I've now rewritten text and updated status.

altinnadmin commented 1 month ago

Accepted in todays meeting.