Refer epic #1754 for more info.
Refer the mesheryctl Command Tracker for current status of mesheryctl.
mesheryctl exp preflight command should be added which verifies the presence of dependencies and overall environment readiness for a Meshery deployment.
ā ~ mesheryctl exp preflight
Docker
--------------
ā Docker is running
ā docker-compose is available
Kubernetes API
--------------
ā can initialize the client
ā can query the Kubernetes API
ā has required level of privileges
Kubernetes Version
------------------
ā is running the minimum Kubernetes API version
ā is running the minimum kubectl version
mesheryctl exp preflight will be moved to mesheryctl system preflight and mesheryctl system check --preflight.
@piyushsingariya FYI
Hey @navendu-pottekkat can you drop some references to be sure about how to make this from scratch?
Also, I researched and couldn't found any solid way to check about the docker part, so if you have any clue about that too it would be helpful.
We kind of do the docker checks in the preReqCheck function in the helpers.go file... I guess this would only include that... We do not need to check anything else right @leecalcote ?
Gents, the milestone (version) for this issue is set for v0.9.0. If we can complete this before that release, that would be great. We would need to have completed the other functions schedule in the milestones in v0.6, v0.7, v0.8 first, though (see the roadmap.md in the root folder of this repo).
I noted this in Slack and will record here for posterity: This issue (and its parent issue) large in nature and will require a written design spec before it is scheduled for implementation. For now, Iām unassigning the issue, so that we can focus on v0.6.0 issues.
Most helpful comment
Gents, the milestone (version) for this issue is set for v0.9.0. If we can complete this before that release, that would be great. We would need to have completed the other functions schedule in the milestones in v0.6, v0.7, v0.8 first, though (see the roadmap.md in the root folder of this repo).
I noted this in Slack and will record here for posterity: This issue (and its parent issue) large in nature and will require a written design spec before it is scheduled for implementation. For now, Iām unassigning the issue, so that we can focus on v0.6.0 issues.