Configuring Meshery is foundational to effectively managing and deploying your infrastructure. By understanding what Teams
, Workspaces
,Connections
and Environments
are and how to set them up, you can effectively manage and monitor your cloud-native infrastructure, as well as collaborate with your team by sharing and organizing your resources.
Prerequisite
To start configuring Meshery:
Creating a Team is the first step in configuring Meshery. In Meshery, a team is a user group that manages and shares access to resources such as Workspaces, Designs, and Environments. Teams enable efficient collaboration and permission management, facilitating organized operations within an organization. Teams offer control access to workspaces and to workspace resources such as Environments and Connections.
Follow the steps below to create a team:
Creating a Workspace is an important step in configuring Meshery. A workspace in Meshery is a logical grouping of resources that helps organize and manage your infrastructure more effectively. It is used to separate different projects or environments within your team, enabling better collaboration and resource management. Every user is assigned a default workspace, which can be customized as needed.
To create a workspace:
In the subsequent sections, we will discuss Environments
and Designs
shown in the image above.
Environments and Connections are essential for efficient resource management in Workspaces. Environments logically group related Connections and Credentials, simplifying management and sharing. Connections within Environments become immediately available for use in any assigned Workspaces.
To create an environment:
Next We’ll learn how to assign Connections to Environments.
Examples of connections managed by Meshery include GitHub integrations, Prometheus connections, Kubernetes clusters, and more. It’s essential to assign these connections to an environment and link that environment to your selected workspace.
To add a connection to an environment:
The Connections
page serves as a central hub for managing the clusters you are connected to. This page provides valuable information and functionality to help you understand and interact with all your connections.
To access the Connections page, click on Connections under the Lifecycle dropdown.
On the Connections page, you can easily add a Kubernetes cluster connection. To do this:
After uploading the kubeconfig file, the modal should indicate that your cluster has been successfully added as a connection.
If you uploaded an invalid kubeconfig file, you might see an error message statement like the one below. Please ensure you are uploading the correct file with the proper configuration and try again.
Each connection has key details associated with it such as:
You can assign your created Environments to Workspaces, enabling effective collaboration and resource utilization across your team. This feature allows you to organize your Environments based on specific projects, teams, or use cases, making it easier to manage and share resources within your organization.
Integrating designs with Workspaces enables effective collaboration and sharing of infrastructure configurations across your team. When you assign an Environment containing your designs to a Workspace, team members with access to that Workspace can view, manage, and build upon the shared designs and share feedback.
Environments
and Designs
to Workspaces, respectively.Now, the environment and design are associated with the workspace. You get standardized resource deployment and cross-team collaboration. This enables efficient resource management and tracking, and makes team members more productive.
In this chapter, you learned how to effectively configure Meshery, laying the groundwork for managing your infrastructure and optimizing workload within Kubernetes environments. Starting with the creation of workspaces, you established collaborative environments where teams can organize and deploy resources efficiently.
You explored the setup of environments, which serve as logical groupings for managing Kubernetes connections and other resources. By adding cluster connections and associating them with environments, you ensured seamless integration and management of your infrastructure components.
Throughout the configuration process, you encountered various steps to integrate workspaces with environments and designs. This integration not only streamlined resource management but also facilitated standardized deployments across Kubernetes clusters associated with your workspace.