<p>This command works: <code>kubectl get CustomResourceDefinition | awk '{ print $1 }'
</code></p>

<p>You can use <code>-o yaml</code> or <code>-o json</code></p>

CC BY-SA 4.0
2019-10-14T15:18:35.260Z
2019-10-14T15:18:35.260Z
ras212
<p>I have installed with success cert-manager following <a href="https://docs.cert-manager.io/en/latest/getting-started/install/kubernetes.html" rel="nofollow noreferrer">the steps indicated here</a>.</p>

<p>Now, i am doing an script that checks if every steps are done properly, so my question is: How can i check if all the CustomResourceDefinitions are created via kubectl, for example?</p>

<p>I use google kubernets engine v1.13</p>

<kubernetes><google-cloud-platform>
How can i check if all CustomResourceDefinitions have been created properly?
ras212
# How can i check if all CustomResourceDefinitions have been created properly?

(Asked by: username_0 on 2019-10-09)

I have installed with success cert-manager following [the steps indicated here](https://docs.cert-manager.io/en/latest/getting-started/install/kubernetes.html).

Now, i am doing an script that checks if every steps are done properly, so my question is: How can i check if all the CustomResourceDefinitions are created via kubectl, for example?

I use google kubernets engine v1.13

**Tags:** kubernetes, google-cloud-platform


---

## 1 answers

### Answer by username_0 on 2019-10-14. Score: 0 | Accepted answer

This command works: `kubectl get CustomResourceDefinition | awk '{ print $1 }'`

You can use `-o yaml` or `-o json`


---

