Laravel on Kubernetes: Into Production

2021-01-23

In this episode, we'll explore the "What next?" question that is often left in developers heads after they've deployed their Laravel application to Kubernetes. We'll tackle queue processing, jobs and scheduled tasks, database migrations, safe upgrades and continuous deployment, centralised logging, secrets management, and application monitoring.
#KubernetesTutorial #Tutorial


šŸæ Rawkode Live

Hosted by David McKay / šŸ¦ https://twitter.com/rawkode
Website: https://rawkode.live
Discord Chat: https://rawkode.live/chat

#RawkodeLive

šŸ•° Timeline

00:00 - Holding Screen
00:45 - Introductions
02:40 - Context: what do we need to do?
06:00 - Getting the app deployed to Kubernetes
18:15 - Kubernetes resource constraints
20:50 - ImagePullPolicies: working with local images
24:00 - Adding volumes for ephemeral / cache data
35:00 - Configuring our applications with ConfigMaps
55:00 - Kubernetes secrets
01:00:40 - Database migrations
01:07:00 - Jobs and CronJobs for scheduled tasks and queues
01:22:00 - Safe updates with deployment update strategies

šŸ‘„ About the Guests

Alex Bowers

Alex is the Lead Developer at Shopblocks. Primarily working with Laravel, VueJS, and dabbling with Rust; Alex enjoys bridging his time between development and infrastructure with Ansible.


šŸ¦ https://twitter.com/bowersbros
šŸ§© https://github.com/alexbowers



šŸ”Ø About the Technologies

Laravel

Laravel is a web application framework with expressive, elegant syntax. A web framework provides a structure and starting point for creating your application, allowing you to focus on creating something amazing while we sweat the details.
Laravel strives to provide an amazing developer experience, while providing powerful features such as thorough dependency injection, an expressive database abstraction layer, queues and scheduled jobs, unit and integration testing, and more.
Whether you are new to PHP or web frameworks or have years of experience, Laravel is a framework that can grow with you.

šŸŒ https://laravel.com
šŸ¦ https://twitter.com/laravelphp
šŸ§© https://github.com/laravel/laravel

#Laravel #PHP


Kubernetes

Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely
available.
The name Kubernetes originates from Greek, meaning helmsman or pilot. Google open-sourced the Kubernetes project in 2014. Kubernetes combines over 15 years of Google's experience running production workloads at scale with best-of-breed ideas and practices from the community.
Designed on the same principles that allows Google to run billions of containers a week, Kubernetes can scale without increasing your ops team.
Whether testing locally or running a global enterprise, Kubernetes flexibility grows with you to deliver your applications consistently and easily no matter how complex your need is.
Kubernetes is open source giving you the freedom to take advantage of on-premises, hybrid, or public cloud infrastructure, letting you effortlessly move workloads to where it matters to you.

šŸŒ https://kubernetes.io/
šŸ¦ https://twitter.com/kubernetesio
šŸ§© https://github.com/kubernetes/kubernetes

#CloudNative #Kubernetes


šŸŒ Show Links
https://github.com/alexbowers/laravel-example-project