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.Documentation Index
Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
ngrok Kubernetes CRDs
Resource status and conditions
The ngrok Kubernetes Operator uses standard Kubernetes conditions to report the state of resources. Each resource includes astatus.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:| CRD | Condition Type | Purpose |
|---|---|---|
| Domain | Ready | Overall domain readiness |
DomainCreated | Domain reservation status | |
CertificateReady | TLS certificate status | |
DNSConfigured | DNS configuration status | |
Progressing | Domain provisioning in progress | |
| IPPolicy | Ready | Overall policy readiness |
IPPolicyCreated | Policy creation status | |
RulesConfigured | Rules configuration status | |
| CloudEndpoint | Ready | Overall endpoint readiness |
CloudEndpointCreated | Endpoint creation status | |
DomainReady | Associated domain status | |
| AgentEndpoint | Ready | Overall endpoint readiness |
EndpointCreated | Endpoint creation status | |
TrafficPolicyApplied | Traffic policy application status | |
DomainReady | Associated domain status | |
| BoundEndpoint | Ready | Overall bound endpoint readiness |
ServicesCreated | Target and upstream services creation status | |
ConnectivityVerified | Upstream connectivity verification status |
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, orUnknown - 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