component command manages individual infrastructure components that are part of models in the Meshery registry.
Synopsis
Subcommands
list- List all available componentsview- View component detailssearch- Search for components by name or model
Global Flags
Display total count of components
list
List all available infrastructure components.Usage
Flags
Page number for pagination
Number of components per page
Display only the count of components
Examples
Sample Output
view
Display detailed information about a component.Usage
Flags
Output format:
yaml, json. Short form: -oFilter by model name
Examples
Sample Output
search
Search for components by name, model, or other attributes.Usage
Flags
Filter by model name
Filter by category
Filter by version
Examples
Sample Output
Count Components
Display the total number of registered components.Usage
Example Output
Component Properties
Components include the following key properties:Basic Information
- Name - Component identifier (e.g., Pod, Service)
- Kind - Component type within its model
- Version - Component version (may differ from model version)
- Model - Parent model the component belongs to
Schema Definition
- Properties - JSON Schema defining component structure
- Required - Required fields for the component
- Defaults - Default values for optional fields
Metadata
- Category - Component category (inherited from model)
- IsNamespaced - Whether component is namespace-scoped
- Published - Publication status in registry
- Capabilities - Special capabilities the component provides
Component Categories
Components are categorized by their parent model:- Orchestration - Container orchestration (Pods, Deployments, Services)
- Service Mesh - Service mesh primitives (VirtualService, DestinationRule)
- Observability - Monitoring components (ServiceMonitor, PodMonitor)
- Network - Networking components (Ingress, NetworkPolicy)
- Security - Security components (SecurityPolicy, Certificate)
- Storage - Storage components (PersistentVolume, StorageClass)
- Database - Database components (PostgreSQL, Redis)
Use Cases
Find Available Kubernetes Components
Explore Service Mesh Components
Check Component Availability
Working with Component Schemas
Component schemas define the structure and validation rules:Troubleshooting
Component Not Found
Too Many Results
Schema Validation
See Also
- Model Command - Manage infrastructure models
- Relationship Command - View component relationships
- Design Command - Use components in designs