Skip to main content
Kubernetes has the concept of Custom Resource Definitions (CRDs) which allow you to define your own custom resources. This document will cover the CRDs you might use to achieve your goals with the ngrok Kubernetes Operator.

ngrok Kubernetes CRDs

Resource status and conditions

The ngrok Kubernetes Operator uses standard Kubernetes conditions to report the state of resources. Each resource includes a status.conditions array that provides visibility into the current state and any issues that may need attention.

Common condition types

The following table summarizes the condition types available across different CRD resources:

Checking resource status

You can use kubectl to check the status of your resources:

Understanding condition fields

Each condition includes the following fields:
  • type: The condition type (for example, Ready, DomainCreated)
  • status: True, False, or Unknown
  • reason: A programmatic identifier for the condition state
  • message: A human-readable description of the condition
  • lastTransitionTime: When the condition last changed state
  • observedGeneration: The resource generation this condition reflects
For detailed information about the status fields and conditions for each CRD, refer to the individual CRD documentation pages linked above.