Introduction to PHP on Kubernetes

Phil Weir (05.Oct.2018 at 09:30, 3 hr )
Workshop at ScotlandPHP 2018 (English - UK)

Rating: 5 of 5

Microservice architectures and containerization are regularly talked about, but how do we put this all together in a container-focused infrastructure?

PHP systems need to stay up, running and be smoothly linked from developer to deployment. Kubernetes has risen to be the industry-leader in container orchestration, providing a consistent means of deploying, scaling, updating and interrogating your web-based systems. Being container-driven from the ground-up, it helps realize the gains containerization offers right through your lifecycle: reproducibility, cloud-independence, immutable environments, managed self-service access.

This tutorial will be framed as a stepped deployment using open source profiles for deploying a Laravel system, termed Buckram. This will involve:
- setting up a generic Kubernetes system
- deploying Laravel onto it using Helm charts (versionable infrastructure description), with Postgres, Redis and workers
- employing a Gitlab repository for CI/CD for building container images
- managing per-deployment configuration and environment variables
- process health, logging and scaling
- using the artisan CLI tool for scheduled and one-off jobs on the cluster (as time permits)

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 5 of 5

07.Oct.2018 at 11:50 by Andy Gaskell (24 comments) via Web2 LIVE

I thought the workshop was really clear, well prepared, and a good balance of theory and practice. The workbook format worked well and helped fit a lot of practical work into a relatively short period of time.

I now feel I have a much better, more holistic understanding of Kubernetes and container orchestration than I had before.

© 2019