Skip to content
/ k8s-gke Public
forked from lougheevian/k8s-gke

Simple javascript app using postgres and redis, deployed to GKE

Notifications You must be signed in to change notification settings

xtbtds/k8s-gke

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s-gke

This is a simple Node + React app created only for cloud deployment practice.

It allows to count a Fibonacchi value, and stores computed values in postgres and redis.

Pipeline: Travis CI
Deployment: Google Kubernetes Engine

https

Doesn't work with provided code. Only http is awailable to test this app in kubernetes cluster, for this purpose use code from this commit: https://github.com/lougheevian/k8s-gke/tree/2eba814a4bae32bbf4581a1faba1a1dff8c72cc3 Required steps:

  • create kubernetes cluster in google cloud
  • in Travis CI create env variables $DOCKER_LOGIN and $DOCKER_PASSWORD
  • Travis CI starts deploying on commit to master branch
  • in google cloud console you need to set password for PostgreSQL database, use the command kubectl create secret generic pgpassword --from-literal PGPASSWORD=<YOUR_PASSWORD>

About

Simple javascript app using postgres and redis, deployed to GKE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.9%
  • HTML 15.8%
  • Shell 8.6%
  • CSS 8.5%
  • Dockerfile 4.2%