DigitalOcean Managed Kubernetes Service
Deepak Porwal
Posted on October 2, 2021
Setting Up Kubernetes using Digital Ocean K8s Managed Service
You can use my referral you will get $100 free usage for 3 months.
By clicking below.
Downloading the Config file and Setting up
And when we open the config file we will see these details.
Setting up CLI kubectl
Kubectl need to connect to the k8s master, we nees:
- DNS/IP of the cluster
- 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
Next Step, Move that Binary to C:\Binaries. If Binaries folder is not there, create one.
Create a Environment Variable to call this Binary.
Setting up config to connect with Kubernetes master
Move the kubeconfig file to C:\Users\ .kube and name it as config ( removing .yml extension)
To Verify, run kubectl , it will work from any path.
For, linux and MacOS installation refer below link.
https://kubernetes.io/docs/tasks/tools/
References:
Official Documentation
Udemy Course
Credit:
Zeal Vora
Posted on October 2, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.