Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.
/ demo-apps-project Public archive

A demo Exekube project that deploys several web apps onto a GKE cluster

License

Notifications You must be signed in to change notification settings

exekube/demo-apps-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-apps-project

The demo-apps-project deploys various web applications onto Kubernetes / GCP using the Google Kubernetes Engine (GKE).

Networking

Privately expose your applications

By default, this project ships with minimally configured networking for simplicity and ease of setup, though our services will be available only privately via kubectl proxy. For this project, you can enable the proxy by typing in your shell

docker-compose up

Use can then access the applications using this format:

http://localhost:8001/api/v1/namespaces/<NAMESPACE>/services/<SERVICE-NAME>:<SERVICE-PORT>/proxy/

Publicly expose your applications

If we want to expose our services (applications) on the public Internet, we will need to:

  1. Create an external static IP address.
  2. Enable nginx-ingress module (to create Kubernetes LoadBalancer type of service) that will use that static IP address.
  3. Create DNS records to point clients to the static IP address.
  4. Enable cert-manager module to add TLS for the domains
  5. Enable Ingress resources for our Helm releases.

Use this pull request as an example of how to set up production networking.

(TODO) There is also a step-by-step tutorial: https://docs.exekube.com/in-practice/production-networking

Modules

Base modules

This project uses the Exekube base-project as boilerplate.

Modules from base-project:

  • gke-network
  • gke-cluster
  • administration-tasks

modules/nginx-ingress

We use nginx-ingress as our ingress controller for the applications.

modules/cert-manager

We use cert-manager to acquire Let's Encrypt TLS certificates to enable HTTPS for publicly available appications.

modules/guestbook

Guestbook is a canonical example of a Kubernetes deployment

modules/forms-app

A custom React app to test out Istio ingress and auto-injection

About

A demo Exekube project that deploys several web apps onto a GKE cluster

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages