Problems around setting up Meshery Server for development

As a first time contributor, many face problem in running meshery server, I faced too and so I decided to write a post around what I’ve learned.

Let’s get some concepts clear first,

  • mesheryctl system start - this would pull latest server release image from Meshery and run that locally. You can run meshery server on your kubernetes cluster as well. Here’s the full guide for the same.
  • make server - this would take your local code and build the Meshery server on your machine

When contributing there can be two scenarios -

  1. You want to test changes made in meshery/server: for this you’ll need to build your code using make server command
  2. You haven’t made changes to meshery/server and only want an instance of server running to test out your changes. An easy way for this would be to use the community server instance - Meshery Playground

How to connect to playground server instance?

  • set the meshconfig (config.yaml) file atroot/.meshery to point to playground url.

    endpoint: https://playground.meshery.io
    
  • now if you run any command from mesheryctl, you’ll be interacting with this server.

Hope this helps!

3 Likes