DEV Community

Cover image for DigitalOcean Managed Kubernetes Service
Deepak Porwal
Deepak Porwal

Posted on

DigitalOcean Managed Kubernetes Service

Setting Up Kubernetes using Digital Ocean K8s Managed Service

Stepstostart

You can use my referral you will get $100 free usage for 3 months.
By clicking below.

DigitalOcean Referral Badge

Downloading the Config file and Setting up

Download Config

And when we open the config file we will see these details.

Config File

Setting up CLI kubectl

Kubectl need to connect to the k8s master, we nees:

  1. DNS/IP of the cluster
  2. Authentication Credentials

which will found in kubeconfig.

I'm setting up in windows. So, will be using below reference.

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

Download this Kubectl binary

DownloadBinary

Next Step, Move that Binary to C:\Binaries. If Binaries folder is not there, create one.

move

Create a Environment Variable to call this Binary.

envvariable

Setting up config to connect with Kubernetes master

Move the kubeconfig file to C:\Users\ .kube and name it as config ( removing .yml extension)

kubeconfig

To Verify, run kubectl , it will work from any path.

verifykubectl

For, linux and MacOS installation refer below link.
https://kubernetes.io/docs/tasks/tools/

References:
Official Documentation
Udemy Course

Credit:
Zeal Vora

Top comments (0)