Deploy Feature Branches to Kubernetes

Опубликовано: 20 Январь 2025
на канале: Julie Ng
3,580
104

Let's walkthrough a demo and GitHub Workflows YAML pipeline, where every push to a feat/* branch creates a new deployment with its own URL. We'll also look at strategies for tagging your containers and considerations for Kubernetes namespaces and security. This video is a relatively simple example of how to achieve dynamic environments and is most appropriate for use cases with single tenant Kubernetes clusters.

====== Source Code ======

If you want to dig deeper, the application and pipelines shown in this video are public on GitHub
https://github.com/julie-ng/cloud-arc...

And this is the specific pipeline
https://github.com/julie-ng/cloud-arc...

====== Contents ======

00:00 Intro
00:39 Use Case and App Demo
01:32 Create new git Branch
03:00 Whiteboard - Kubernetes Namespace Setup
04:25 Image Tagging Convention
05:50 1st Deployment Results
06:30 1st Deployment Cleanup
07:28 Demo in k9s CLU
09:58 YAML Pipeline Walkthrough
17:08 Closing

#githubactions #devops #kubernetes

====== Documentation ======

GitHub Workflows - Expressions - format()
https://docs.github.com/en/actions/le...

sed - the 's' command
https://www.gnu.org/software/sed/manu...