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.

1 Answer 1


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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .