Mesheryctl system commands

Let’s get familiar with mesheryctl system commands. The syntax of the mesheryctl commands goes as follws : mesheryctl <Main_command> <Argument> <Flags>

Main_command : system

start

mesheryctl system start : This will initiate Meshery & automatically open it in your default web browser.

skip-browser

mesheryctl system start --skip-browser : It skips opening Meshery in your browser with the provided URL.

skip-browser

mesheryctl system start --skip-update : It is used when you want to skip updating Meshery if an update is available.

skip-browser

mesheryctl system start --reset : It resets your Meshery configuration file to its default configuration.

mesheryctl system start --platform string : It allows you specify a platform for deploying Meshery.

skip-browser

stop

mesheryctl system stop : It stops Meshery resources & delete its associated namespaces.

skip-browser

mesheryctl system stop --reset : It stops Meshery and resets the Meshery configuration file to its default configuration.

skip-browser

mesheryctl system stop --keep-namespace : It stops Meshery without deleting the associated namespaces.

skip-browser

mesheryctl system stop --force : Force stops Meshery instead of gentle way. This is only used in emergency situations when mesheryctl system stop can’t halt Meshery.

skip-browser

update

mesheryctl system update : This updates Meshery itself, not the mesheryctl. Ensure Meshery is running when using this.

skip-browser

mesheryctl system update --skip-reset : Skips the check for a new manifest file.

skip-browser

reset

mesheryctl system reset : Resets Meshery to its default configuration.

skip-browser

restart

meshryctl system restart : Stops Meshery and then starts it again. Opens the website in your default browser.

skip-browser

status

mesheryctl system status : Displays the status of Meshery components.

mesheryctl system status --verbose : Provides additional data along with Meshery and its component status.

skip-browser

dashboard

mesheryctl system dashboard : Opens the Meshery dashboard in your default browser.

skip-browser

mesheryctl system dashboard --skip-browser : Provides the link to the dashboard, allowing you to open it in any browser.

skip-browser

mesheryctl system dashboard --port-forward : If the current port is busy, it opens the dashboard on another port.

skip-browser

login

mesheryctl system login : Authenticates you with your selected provider.

skip-browser

check

mesheryctl system check : Performs checks for both pre & post mesh deployment scenarios on Meshery.

skip-browser

mesheryctl system check --preflight : Runs pre-deployment checks.

mesheryctl system check --adapter : Runs checks for a specific Mesh adapter.

mesheryctl system check --adapters : Runs checks for Meshery adapters

mesheryctl system check --components : Runs checks for Meshery components

mesheryctl system check --operator : Runs checks for Meshery Operator

Main_command : system channel

channel

mesheyctl system channel set [stable|stable-version|edge|edge-version] : Used to set the channel.

mesheyctl system channel switch [stable|stable-version|edge|edge-version] : Used to switch between channels.

skip-browser

mesheyctl system channel view --all : Displays all available channels.

mesheyctl system channel view : Displays the current channel.

skip-browser

Main_command : system context

create

mesheryctl system context create 'context-name' : Creates a new context with default parameters.

skip-browser

mesheryctl system context create --component stringArray : Specifies the component to be created in the context.

mesheryctl system context create --platform string : Specifies the platform.

mesheryctl system context create --set : Sets this context as default context.

mesheryctl system context create --url string : Specifies the target URL.

skip-browser

switch

mesheryctl system context switch : Easily switch between different contexts.

list

mesheryctl system context list : Lists all your available Meshery contexts.

skip-browser

delete

mesheryctl system context delete : Delete context.

skip-browser

view

mesheryctl system context view : Display all your contexts with additional information.

skip-browser

Main_command : system provider

switch

mesheryctl system provider switch : Changes your provider

skip-browser

list

mesheryctl system provider list : Lists all available providers

skip-browser

set

mesheryctl system provider set : Set your provider

skip-browser

view

mesheryctl system provider view : Lists your current context and provider

skip-browser