How To Install WordPress App On An Existing Kubernetes (K8s) Cluster On DigitalOcean & Add A Domain @Websplaining
How To Install WordPress App On An Existing Kubernetes (K8s) Cluster On DigitalOcean & Add A Domain  @Websplaining
Uploaded June 2025 | Updated December 2026, 1 day ago
In this video, you will learn how to install the WordPress application (app) on an existing Kubernetes (K8s) cluster. WordPress is an open source content management system (CMS), allowing users to create a website, blog, or an online shop. To achieve this, Helm and kubectl will be used. Helm is a package manager for k8s and kubectl is a command-line tool for interacting with k8s cluster. From the command line interface (CLI), the WordPress external IP (WordPress URL) and admin credentials will be extracted. The WordPress app is running on a DigitalOcean load balancer which ensures traffic is distributed across your K8s cluster and the external IP is the load balancers public IP address. Finally, I will show you how to purchase (if necessary), add a Namecheap domain name to your WordPress site and point or direct the domain name to your load balancers external IP address. This is done by using DigitalOcean's custom name servers and adding a wildcard A record to DigitalOceans DNS records.

How To Create A Kubernetes (K8s) CPU or GPU Cluster On DigitalOcean youtu.be/c-X1qfcF4_M

I may earn a commission if you use the links below to sign up, at no extra cost to you.
🔵Free $200 DigitalOcean cloud credits using my affiliate link: websplaining.com/digitalocean
🟠Buy your first .COM with Namecheap namecheap.pxf.io/c/1245219/408750/5618

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

How To Buy A Domain Name youtu.be/SP0HlJp8XZ0

DO Marketplace marketplace.digitalocean.com
Kubernetes 1-Click Install Apps marketplace.digitalocean.com/category/kubernetes
WordPress Kubernetes marketplace.digitalocean.com/apps/wordpress-kubernetes

Steps To Install WordPress K8s On A K8s Cluster And Add A Domain Name:
1. Setup a DigitalOcean K8s cluster (DOKS) to act as the existing k8s cluster. If you haven't made a DOKS cluster yet, you can do so by following this step by step video of mine youtu.be/c-X1qfcF4_M
2. Once you have created your K8s cluster, navigate to marketplace.digitalocean.com/apps/wordpress-kubernetes in your browser and click on Install App, to install WordPress Kubernetes
3. Select your desired existing cluster from the dropdown list, and click Install
4. Once installed, you will have the latest version of WordPress k8s by DigitalOcean
5. Run the commands below in order

Commands:

snap install helm
snap install helm --classic

Confirm that helm and WordPress have been successfully installed using the following helm command:

helm ls -n wordpress

snap install kubectl
snap install kubectl --classic

Check the external IP address of the WordPress Load Balancer:

kubectl get svc -n wordpress

Extract the WordPress admin credentials:

kubectl get secret --namespace wordpress wordpress-kubernetes -o jsonpath="{.data.wordpress-password}" | base64 --decode

6. Replace $WORDPRESS_IP with the extracted WordPress load balancers IP in http://$WORDPRESS_IP/admin and navigate to that URL address by pasting it into a browser

E.g.
If extracted IP = 157.230.201.206
Then WordPress Admin login page = http://157.230.201.206/admin

7. Login to your WordPress site using the extracted admin credentials
8. If you don't already have a domain name you can purchase one using the following URL namecheap.pxf.io/c/1245219/408750/5618 or by watching this step by step video of mine namecheap.pxf.io/c/1245219/408750/5618
9. In the nameservers section of your Namecheap domain, change Namecheap BasicDNS to Custom DNS and paste in the following DigitalOcean nameservers.

DigitalOcean Nameservers:
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com

10. Go back to your DigitalOcean dashboard, click the green Create button
12. Click Domains/DNS
13. Click Domains
14. Enter your Namecheap domain name and click Add Domain
15. Click A record, in the hostname section enter @
16. In the "Will Direct To" section, select the load balance resource that matches the external IP address of the WordPress load balancer
17. Click Create Record
18. Under DNS records, copy the hostname of the A type record and paste it into a new browser tab
19. Click Continue to site if you're using Google Chrome browser as the link is http
20. Login by adding /admin to your domain URL address and the same credentials in step 7.

Congrats, you have successfully installed the WordPress app on an existing DigitalOcean K8s cluster, added a Namecheap domain name & pointed the WordPress K8 load balancer's IP address to a Domain.

⌚:
0:00 - Intro
0:47 - Install WordPress On An Existing K8s Cluster
9:31 - Point A Domain To A WordPress K8s Load Balancer's IP Address
16:31 - Outro

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

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

#WordPress #Kubernetes #K8s
How To Install WordPress App On An Existing Kubernetes (K8s) Cluster On DigitalOcean & Add A DomainHow To Mirror Or Flip An Image Horizontally or Vertically Without PhotoshopHow To Clear Or Delete PuTTYs Cached SSH Host Keys In Windows 11 Registry EditorHow To Check CPU Usage On Ubuntu Linux TerminalHow To Turn Off Or On Torch (Flashlight) And Adjust Torch Strength On AndroidHow To Set Up WG-Easy (WireGuard Easy) VPN Server With Web-Based Admin UI On An Ubuntu Linux VPSHow To Rename Your Kamatera Cloud Server (VPS)How to leave a Group on Signal AndroidHow to Hide or Show Notifications on Android Lock ScreenHow To Reset Or Set FIDO2 Pin Using YubiKey Manager App On WindowsHow To Check And List All System Hardware Configuration Information On Ubuntu LinuxHow to unlink or remove linked devices on Signal Android
Websplaining |

How To Install WordPress App On An Existing Kubernetes (K8s) Cluster On DigitalOcean & Add A Domain

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER