Custom Resource Definition

Determining if certain custom resource definitions are available

The customResourceDefinition analyzer is available to check for the existence of a Custom Resource Definition (CRD) that is expected to be installed.


This analyzer requires exactly 1 parameter:

customResourceDefinitionName: (Required) The name of the CRD that should be present.

Example Analyzer Definition

apiVersion: troubleshoot.replicated.com/v1beta1
kind: Analyzer
  name: analyzer-sample
  - customResourceDefinition:
      customResourceDefinitionName: rook
        - fail:
            message: The Rook CRD was not found in the cluster.
        - pass:
            message: Rook is installed and available.
Edit on GitHub