GitHub Actions

Continuous Integration with GitHub Actions

Project Status Meeting 3

In this lesson, you’ll get a comprehensive update on our project’s health and next steps. We’ll cover:

  • Recent optimizations in our CI/CD pipeline
  • Performance gains after refactoring container responsibilities
  • Preparation for deployment and an introduction to Kubernetes fundamentals

1. Recap of Recent Improvements

By isolating job containers (e.g., background workers) from service containers (e.g., web servers), we dramatically reduced database contention and improved overall throughput. Key metrics:

MetricBefore RefactoringAfter Refactoring
Average Job Completion45 seconds15 seconds
Database CPU Utilization85%50%

Best Practice

Separating container responsibilities lets you scale each component independently, reduces resource contention, and improves fault isolation.


2. Preparing for Deployment

Alice and her team are finalizing the deployment checklist. Essential items include:

  1. Specifying container images with version tags
  2. Managing environment variables and secrets
  3. Validating service discovery and network policies

3. Kubernetes Fundamentals

Let’s explore the core Kubernetes resources you’ll use:

Resource TypePurposeExample CLI Command
PodSmallest deployable unitkubectl run nginx --image=nginx
DeploymentManages replicated Podskubectl create deployment webapp --image=myapp:1.0
ServiceProvides stable network endpointkubectl expose deployment webapp --port=80

Prerequisites

Ensure kubectl is installed and pointed at a cluster. New to Kubernetes? Start with Kubernetes Basics.


4. What’s Next?

  • Review and customize our deployment manifest templates
  • Set up namespaces and RBAC policies
  • Deploy your first application to the cluster

Let’s get started!


Watch Video

Watch video content

Practice Lab

Practice lab

Previous
Run Code Coverage Job using a Container and Service