Deploying Kubernetes on DigitalOcean is a breeze. Once you have an account and have installed the DigitalOcean client, logging in to your account and clicking on the Kubernetes link in the left-hand sidebar will take you to the DigitalOcean Kubernetes page:
On this page you can create a new Kubernetes deployment, or select an existing one to deploy to. You can also select a template to get started quickly.
To deploy a Kubernetes deployment, first click on the Deploy button:
This will open the Deployment wizard. In the first step of the wizard you will need to specify the name of your deployment.
This name will be used to identify the deployment in the DigitalOcean Kubernetes dashboard, so make sure you choose a name that is descriptive and corresponds to the deployment you are deploying.
In the next step of the wizard you will need to specify the hostname or IP address of the computer on which you will be deploying Kubernetes. If you are deploying Kubernetes on a remote machine, you will need to specify the IP address of the machine.
In the last step of the wizard you will need to specify the root password for the machine on which you are deploying Kubernetes.
Once you have completed the Deployment wizard, Kubernetes will be deployed to the machine on which you specified. To access the deployment, you can use the Kubernetes dashboard:
The first time you access the Kubernetes dashboard, you will be prompted to create an account. If you have already created an account, you will be able to log in using the credentials that you entered in the Deployment wizard.
The Kubernetes dashboard is a powerful tool that allows you to manage your deployments and observables, as well as view the status of your nodes and pods. To view the status of a particular node or pod, click on the node or pod in the cluster overview:
The node or pod will be displayed with its status and details, such as the number of pods and nodes it contains, the load balancer that is handling traffic for the pod, and the status of the pod’s containers.