Skip to content
This repository was archived by the owner on Sep 13, 2020. It is now read-only.

EddieHubCommunity/LiveStream-GitOps-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

From NodeJS to K8s with GitOps ๐Ÿš€

The purpose of this repository is to show how you can take a plain NodeJS application, package it up as a docker container and deploy it to a local Kubernetes cluster using GitOps.

This will be demoed on a live stream Thursday the 13th of August 2020, youtube link here, come and join the discussion.

Prerequisites

The following software needs to be installed prior to using the repository.

Sample application

The application we will be using for this example is a simple NodeJS application that prints environment variables in a table.

The src directory contains the application we will be using for the demo.

Workflow

The repository will be used to show the following steps:

  1. Building a docker image using a Dockerfile.
  2. Pushing that image to a container image registry.
  3. Setting up a local Kubernetes cluster.
  4. Deploying flux onto the kubernetes cluster ready to reconcile our repository.
  5. Constructing the resources required to deploy our NodeJS application to Kubernetes.
  6. Showing the initial sync of workloads into the cluster.
  7. Building and pushing a new image tag to our container image registry.
  8. Re-configuring our Kubernetes resources to force flux to deploy the latest images automatically.

Documentation

The following supporting documents have been added:

  1. What is GitOps?
  2. How does this repo work?

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

GitOps live stream repo for EddieBot

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published