How To Create A Kubernetes (K8s) CPU or GPU Cluster On DigitalOcean @Websplaining
How To Create A Kubernetes (K8s) CPU or GPU Cluster On DigitalOcean  @Websplaining
Uploaded June 2025 | Updated November 2026, 4 days ago
In this video, you will learn how to make a Kubernetes (K8) Cluster using DigitalOceans managed Kubernetes service known as DigitalOcean Kubernetes or DOKS for short. I will then show you how to generate a personal access token with no expiration date with full read and write access to your K8 using DigitalOceans API service. To access the K8 cluster I will show you how to install doctl on a DigitalOcean cloud server known as a Droplet, you can also optionally install the kubernetes official client called kubectl instead of doctl. The droplet will act as a controller to connect, authenticate using the API token to grant doctl access to your DigitalOcean K8s cluster, and finally to verify connectivity to your cluster. K8s is an open-source and extensible platform for managing containerized applications in a cluster. It automates the deployment, scaling, and management of these containerized services and workloads ensuring no downtime in a production environment, If one container goes down, another container in that K8 cluster will start preventing downtime of the app(s)

I may earn a commission if you use the link below to sign up, at no extra cost to you.
🔵Free $200 DigitalOcean cloud credits using my affiliate link: websplaining.com/digitalocean

How To Get $200 In Free DigitalOcean Cloud Credits youtu.be/9QE7zbyc6Ek

How To Install WordPress App On An Existing Kubernetes (K8s) Cluster On DigitalOcean & Add A Domain youtu.be/M0XpyJ78h1U

Create A New Personal Access Token cloud.digitalocean.com/account/api/tokens

Download PuTTY And PuTTYgen putty.org

Install PuTTY on Windows youtu.be/0ptZPTTwRaE

Install doctl Locally For Windows, Mac, Ubuntu Linux (GitHub CLI Installer) github.com/digitalocean/doctl/releases
Install doctl Locally on Mac And Ubuntu Linux (Snap Package) docs.digitalocean.com/reference/doctl/how-to/install
Kubernetes official client (kubectl) kubernetes.io/docs/tasks/tools

Steps To Make A CPU or GPU K8s Cluster Using DOKS:
1. Navigate to websplaining.com/digitalocean and create a free DigitalOcean account. My affiliate link will grant you $200 in free cloud credit for 60 days as a new user
2. Once you have created your DigitalOcean account, you will be taken to your DigitalOcean dashboard. Click Create.
3. Click Kubernetes
4. Configure your K8s cluster by picking the DOKS version, datacenter region, Size pod and service networks, and cluster capacity.
5. Set node pool to autoscale and choose the number of minimum nodes and maximum nodes
6. Give node pool a name and click Create Cluster
7. Navigate to the DigitalOceans API page cloud.digitalocean.com/account/api/tokens and create a personal access token that no expiration and full read and write access
8. Copy and save your secret personal access token. It should look similar to the example below:
dop_v1_1d44bca133627fev3cbf805a10152c3f2ffe7c06695p6f08e3df6ee4ae867048

Note: Keep in mind this access token will not be shown again for your security.

9. You will now need a controller to install doctl and manage your K8s cluster if you want to keep everything managed in the cloud (this is optional but demonstrated in this video). To do this create a cloud server by clicking on the green Create button and selecting the Droplet service. Configure as necessary, and click Create Droplet. If you want to manage your K8s cluster locally you can install the doctl client for your operating system or kubetl. See above links for installing doctl for your appropriate OS.
10. If you created a droplet controller, log in to your droplet using an SSH client such as PuTTY
11.Now run the following commands in the correct order below:

snap install doctl
mkdir /root/.config
doctl auth init

Paste in your access token into the terminal, e.g. dop_v1_1d44bca133627fev3cbf805a10152c3f2ffe7c06695p6f08e3df6ee4ae867048

mkdir /root/.kube
snap connect doctl:kube-config

To authenticate and automatically renew cluster certificate:
doctl kubernetes cluster kubeconfig save [Cluster ID]
e.g. doctl kubernetes cluster kubeconfig save 34cc660c-487f-4f9c-p623-03c674d4c16u

Verify cluster connectivity using Doctl commands:

doctl kubernetes

doctl kubernetes cluster kubeconfig show [Cluster ID]
doctl kubernetes cluster kubeconfig show 34cc660c-487f-4f9c-p623-03c674d4c16u

doctl kubernetes cluster
doctl kubernetes cluster list

Timestamps:
0:00 - Intro
0:41 - Create K8s Cluster (DOKS cluster)
5:56 - Generate Personal Access Token With DigitalOcean API service
7:42 - Create A Controller or Install either Doctl or Kubectl locally
9:18 - Connect, authenticate using token & verify your K8s cluster
16:47 - Outro

DigitalOcean Kubernetes (DOKS), K8s Cluster, doctl & kubectl (Playlist) youtube.com/playlist?list=PLco3v23oibTXWmwNBOxoq3ekXLFaD4p_7

More DO Server Guides (Playlist) youtube.com/playlist?list=PLco3v23oibTVxAf_Ok3alkWKn-LriJxJR

#Kubernetes #K8s #Doctl
How To Create A Kubernetes (K8s) CPU or GPU Cluster On DigitalOceanHow To Hide Or Show Time And Date In The System Tray On Windows 11How to Run a Session Node to help power the Session messenger app and earn staking rewardsHow to setup a Mumble server for $4 per month on an Ubuntu cloud VPSHow to setup Hermes Agent on Kamatera Cloud VPS with an Anthropic AI Model API Key and Telegram appHow To Install & Use Lokinet Client For Windows 11, Connect To Exit Nodes (VPN Mode) And .Loki SitesHow To Check Your CPU Architecture 32-Bit x86 or 64-Bit x64 In Windows 11How To Create XRay VLESS REALITY Proxy Using Amnezia Self-hosted VPN & An Ubuntu Cloud Server or VPSHow To Turn On Notification History To See Recent And Snoozed Notifications On AndroidHow To Stop Using Vibration And Haptics On Android - Turn Off Keyboard Haptics, And All VibrationHow To Cloak Images With Fawkes - Distort Facial Recognition ModelsHow To Get And Use Amnezia Free VPN - Connect In 2 Clicks Or Obtain A Key In Amnezia Telegram Bot
Websplaining |

How To Create A Kubernetes (K8s) CPU or GPU Cluster On DigitalOcean

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER