Overview
Meshery manages the configuration, deployment, and operation of your cloud services and Kubernetes clusters. Whether you’re working with a single cluster or managing multi-cluster, multi-cloud deployments, Meshery provides the tools you need.Starting Meshery
Before managing infrastructure, ensure Meshery is running:Start Meshery
Launch Meshery and its components:
Add
--skip-browser flag if you don’t want the UI to open automatically.Connecting to Kubernetes Clusters
Meshery discovers and connects to Kubernetes clusters through connections. Connections represent the endpoints and credentials for your infrastructure.Automatic Discovery
Meshery automatically discovers clusters from your kubeconfig:This creates a connection from your current kubectl context.
View Available Connections
List all discovered and registered connections:Connection statuses include:
- DISCOVERED - Found but not yet registered
- REGISTERED - Registered and ready to connect
- CONNECTED - Active connection established
- DISCONNECTED - Previously connected, now offline
Connections with status
MAINTENANCE or IGNORED are not actively managed by Meshery. Update the status to CONNECTED to enable management.Deploying Infrastructure Components
Deploy Kubernetes resources and cloud native components using Meshery’s design-based approach:Create or Import Design
You can create designs through:
- Visual Canvas - Drag and drop components in the UI
- Import - Import existing Kubernetes manifests, Helm charts, or Docker Compose files
- Catalog - Use pre-built designs from the catalog
Configure Components
In the design canvas:
- Select components from the 300+ available integrations
- Configure properties through the properties panel
- Define relationships between components (e.g., namespace hierarchy, network policies)
Deploy Design
Apply the design to your cluster:Or deploy from the UI:
- Open the design in Meshery UI
- Click Actions → Deploy
- Select target environment(s)
- Confirm deployment
Managing Meshery Operator
The Meshery Operator manages lifecycle of Meshery components within your Kubernetes cluster:- MeshSync - Discovers and synchronizes cluster state
- Meshery Broker - NATS-based event streaming
Working with Environments
Environments group your infrastructure connections and provide logical separation:Create Environment
Environments represent logical groupings (dev, staging, production):
- Navigate to Environments in Meshery UI
- Click Create Environment
- Provide name and description
- Assign connections to the environment
Associate with Workspaces
Link environments to workspaces for team collaboration:
- Open workspace settings
- Navigate to Environments tab
- Add or remove environment associations
Monitoring Infrastructure State
Meshery continuously monitors your infrastructure through MeshSync:Real-time Synchronization
MeshSync discovers resources in your cluster and publishes changes:Event Streaming
Meshery uses NATS for event-driven updates:- Component state changes
- Health status updates
- Configuration drift detection
Infrastructure as Code
Meshery supports GitOps workflows for infrastructure management:Multi-Cloud Management
Meshery supports infrastructure across multiple cloud providers:- AWS - EKS, EC2, ECS
- Azure - AKS, Container Instances
- GCP - GKE, Cloud Run
- On-premises - Self-managed Kubernetes
Advanced Configuration
Custom Resource Definitions
Meshery automatically discovers CRDs in your cluster and makes them available as components.Helm Chart Deployment
Import and deploy Helm charts:Docker Compose Support
Convert Docker Compose to Kubernetes:Troubleshooting
Connection Issues
If connections fail to establish:- Verify kubeconfig is valid:
kubectl cluster-info - Check network connectivity to cluster API server
- Ensure proper RBAC permissions
- Review connection status:
mesheryctl connections list
Operator Not Starting
Component Deployment Failures
- Check events in Notification Center
- Review component validation errors
- Verify target namespace exists
- Check resource quotas and limits
Next Steps
- Learn about Design Patterns for reusable configurations
- Set up Multi-Cluster Management
- Configure OPA Policies for governance
- Explore Integrations for your tech stack