Setting Up Kubernetes On DigitalOcean

Setting Up Kubernetes On DigitalOcean

A Quick View of  Kubernetes at DigitalOcean, Steps to Setting Up Kubernetes On DigitalOcean

Step-1: Create a Kubernetes Cluster 

Creating A Kubernetes Cluster
Creating A Kubernetes Cluster

 

Step-2: Select A Region 

Step-2 Select A Region
Step-2 Select A Region

Step-3: Select Machine Type, Node Plan, and Fill Node Pool Name, Choose Cluster Name, Create Cluster

Select
– Machine Type
– Node Plan

Fill
– Node Pool Name
– Choose Cluster Name

Then Click On –

Create Cluster

tep-3 Select Node Pool Name Machine Type Node Plan
Step-3 Select Node Pool Name Machine Type Node Plan

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:

  1. 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.
  2. doctl, the official DigitalOcean command-line tool. Use the latest version.

You can install these while your cluster is being provisioned.

 

Step-5 :

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.

https://kubernetes.io/docs/tasks/tools/install-kubectl/

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s