Techno Tim | Migrate Your Databases to Kubernetes and Docker @TechnoTim | Uploaded October 2020 | Updated October 2024, 14 hours ago.
Have you been putting off migrating your database to Docker and Kubernetes like I have? Well wait no longer. It's simple using this step-by-step tutorial. Today, we'll move a database that's on a virtual machine to a container that's running in kubernetes. Oh yeah, this will also work if it's a bare metal server too, duh. 🙂
Video Notes: https://technotim.live/posts/migrate-database-docker-kubernetes/
Support me on Patreon: patreon.com/technotim
Sponsor me on GitHub: github.com/sponsors/timothystewart6
Subscribe on Twitch: twitch.tv/technotim
Become a YouTube member: youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/join
Merch Shop: https://l.technotim.live/shop
Gear Recommendations: https://l.technotim.live/gear
Get Help in Our Discord Community: https://l.technotim.live/discord
2nd channel: youtube.com/@TechnoTimTalks
(Affiliate links may be included in this description. I may receive a small commission at no cost to you.)
00:00 - Intro
00:48 - Why have you been putting this off?
01:41 - What are we doing today?
02:07 - Let's get started
02:12 - HeidiSQL and DBeaver
02:41 - mysqldump backing up your database
04:03 - Moving your backup to the new machine
04:36 - Create new MySQL workload in Kubernetes and Rancher
04:50 - Pinning to a tag and MariaDB
05:57 - Configuring the deployment
06:36 - Start MySQL container
06:49 - Verify that the database is running
07:07 - Map our volume
07:28 - Check our files
07:49 - Import our data
08:49 - Exec into pod to create database
09:44 - Verify our data import
10:01 - Cleanup tasks
10:23 - Schedule backups with Kubernetes Cron Job
11:11 - Backup script
11:44 - Kubernetes service discovery
12:26 - Cron job additional config
13:10 - Verify our backup is running
13:55 - Do you want to move your database to Docker and Kubernetes?
14:24 - Stream Highlight - Meet Buddy, my crazy awesome puppy!
#MySQL #Homelab #Kubernetes #Docker #Rancher #TechnoTim #Proxmox #Virtualization
Thank you for watching!
Have you been putting off migrating your database to Docker and Kubernetes like I have? Well wait no longer. It's simple using this step-by-step tutorial. Today, we'll move a database that's on a virtual machine to a container that's running in kubernetes. Oh yeah, this will also work if it's a bare metal server too, duh. 🙂
Video Notes: https://technotim.live/posts/migrate-database-docker-kubernetes/
Support me on Patreon: patreon.com/technotim
Sponsor me on GitHub: github.com/sponsors/timothystewart6
Subscribe on Twitch: twitch.tv/technotim
Become a YouTube member: youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/join
Merch Shop: https://l.technotim.live/shop
Gear Recommendations: https://l.technotim.live/gear
Get Help in Our Discord Community: https://l.technotim.live/discord
2nd channel: youtube.com/@TechnoTimTalks
(Affiliate links may be included in this description. I may receive a small commission at no cost to you.)
00:00 - Intro
00:48 - Why have you been putting this off?
01:41 - What are we doing today?
02:07 - Let's get started
02:12 - HeidiSQL and DBeaver
02:41 - mysqldump backing up your database
04:03 - Moving your backup to the new machine
04:36 - Create new MySQL workload in Kubernetes and Rancher
04:50 - Pinning to a tag and MariaDB
05:57 - Configuring the deployment
06:36 - Start MySQL container
06:49 - Verify that the database is running
07:07 - Map our volume
07:28 - Check our files
07:49 - Import our data
08:49 - Exec into pod to create database
09:44 - Verify our data import
10:01 - Cleanup tasks
10:23 - Schedule backups with Kubernetes Cron Job
11:11 - Backup script
11:44 - Kubernetes service discovery
12:26 - Cron job additional config
13:10 - Verify our backup is running
13:55 - Do you want to move your database to Docker and Kubernetes?
14:24 - Stream Highlight - Meet Buddy, my crazy awesome puppy!
#MySQL #Homelab #Kubernetes #Docker #Rancher #TechnoTim #Proxmox #Virtualization
Thank you for watching!