ngrok Kubernetes CRDs
CloudEndpoint
Centrally managed endpoints in the cloud that can be used to route traffic to agent endpoints.
AgentEndpoint
Public or internal Endpoints created by Secure Tunnel agents.
NgrokTrafficPolicy
Configuration language that offers you the flexibility to filter, match, manage and orchestrate traffic to your endpoints.
BoundEndpoint
Project ngrok endpoints into one or more Kubernetes clusters as Services to enable secure cluster to cluster networking without exposing them to public traffic.
Domain
A Domain’s primary responsibility is to enable you to create public endpoints with a hostname matching the domain.
KubernetesOperator
Use ngrok with your Kubernetes clusters.
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 (e.g.,
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