A Quick View of Kubernetes at DigitalOcean, Steps to Setting Up Kubernetes On DigitalOcean
Step-1: Create a Kubernetes Cluster
Step-2: Select A Region
Step-3: Select Machine Type, Node Plan, and Fill Node Pool Name, Choose Cluster Name, Create Cluster
– Machine Type
– Node Plan
– Node Pool Name
– Choose Cluster Name
Then Click On –
Step-4 : Install Management Tools :
Install management tools
While you can create, resize, and destroy clusters and node pools here in the control panel, all other administrative tasks require command-line tools from your local machine or a remote management server:
- kubectl, the official Kubernetes client. Use version 1.14.1 of kubectl to ensure you are within one minor version of your cluster’s Kubernetes version.
- doctl, the official DigitalOcean command-line tool. Use the latest version.
You can install these while your cluster is being provisioned.
Download the configuration file
To connect to your cluster from the command line, you need a configuration file on your administration machine that contains an authentication certificate and other connection information.
Automated certificate management (Recommended)
For automated certificate renewal and multiple-cluster management, use `doctl` to fetch your configuration files. How to Connect to Your Kubernetes Cluster provides detailed guidance.
Quick connect with manual certificate management
If you’re just trying out Kubernetes with a single cluster, you can download the cluster configuration file to your ~/.kube directory now. The authentication certificate is good for one week, after which you will need to re-download it.
You can use the following command from within the .kube directory:
Various things to look on :
The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters.