Verify the Deployment Status
Verify the deployment of virtual machines:
- Verify whether the deployment of virtual machines are successful:
appdctl show boot
Note: 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:
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.appdctl show cluster microk8s status
Sample Output
NODE | ROLE | RUNNING ----------------+-------+--------- 10.0.0.1:19001 | voter | true 10.0.0.2:19001 | voter | true 10.0.0.3:19001 | voter | true
Note: You must re-login to the terminal if the following error appears:Insufficient Permissions to Access Microk8s
- Run the following command in the primary node and specify the IP address of the peer nodes: