How do you keep track of "inventory"?

Hello,

I am facing this problem again and again, in different companies with different teams.

How do you keep inventory of resources. For example what Kubernetes clusters are there, what is deployed on the said clusters, what versions are the tools on it(e.g. nginx ingress, argocd). What RDBMS are currently running for which project, what version are they, should they be updated any known CVEs and others of this fashion (pet service running on VMs is a broad category)

What I do is write this down in Confluence/Sharepoint generally including information about why the services is deployed, how can it be reached(IPs/DNS), notes about patching (incl. version, next patch time etc..) and links to other documents about the system(i.e. playbooks during incidents, compliance documents). But this whole thing has always costed me a lot of time.

Solutions like SnipeIT aren't very useful in this context at least for me.