Skip to content

alzubaidi/nodejs-fluxcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluxCD Nodejs Example

Setup:

  • Fork this repo
  • Spin minikube cluster
  • Create namespace called "demo"
    • kubectl create namespace demo
  • Setup fluxcd on your local cluster.
    • In my case it was:
      export GHUSER="alzubaidi" # replace with your github username
      fluxctl install \
      --git-user=${GHUSER} \
      --git-email=${GHUSER}@users.noreply.github.com \
      --git-url=git@github.com:${GHUSER}/nodejs-fluxcd \
      --git-path=namespaces,workloads \
      --namespace=flux | kubectl apply -f -
      
  • Forward requests from the kubernetes service to host
    • kubectl port-forward -n demo svc/hello 3000:3000
  • On a web-browser, open http://localhost:3000/

About

fluxcd nodejs exmaple

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors