Score:0

How to check the desired state file in K8s

sm flag

I'm sorry for the noob question.

Is there a way to check the kubernetes desired state file?

I'm looking for something similar to terraform state list that exists in Terraform.

Score:0
in flag

May be this is not direct answer though you can try kubernetes API's, all services/resources collectively can be considered as state. With this you can get current health as well as dump the definition of all services/resources etc.

K8s Health Checks

K8s keeping metadata in etcd but we can't say it's state file directly, even to get correct details you need to prepare cluster in advance.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.