Verify the Deployment Status
Verify the deployment of virtual machines:
- Verify whether the deployment of virtual machines are successful:
CODE
appdctl show bootNote: Ensure the status of the services in each node. If any service appears as Failed, restart that virtual machine. You might have to redeploy the virtual machine if it is still failing. - Create a three-node cluster:
- Run the following command in the primary node and specify the IP address of the peer nodes:
CODE
appdctl cluster init <Node-2-IP> <Node-3-IP> - Run the following command to verify the node status:
Ensure that the output displays the Running status as true for the nodes that are part of the cluster.CODE
appdctl show cluster microk8s statusSample Output
CODENODE | ROLE | RUNNING ----------------+-------+--------- 10.0.0.1:19001 | voter | true 10.0.0.2:19001 | voter | true 10.0.0.3:19001 | voter | trueNote: You must re-login to the terminal if the following error appears:CODEInsufficient Permissions to Access Microk8s
- Run the following command in the primary node and specify the IP address of the peer nodes: