Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/psibi/app_k8s

Sample application to deploy in Kubernetes and test things out!
https://github.com/psibi/app_k8s

Last synced: 6 days ago
JSON representation

Sample application to deploy in Kubernetes and test things out!

Awesome Lists containing this project

README

        

* app_k8s

Sample application to deploy in Kubernetes and test things out!

* Overlays

| Overlay name | Description |
|--------------------------------+-------------------------------------------------------------------|
| [[./overlays/basic_app][basic_app]] | Basic deployment using cloud provider's load balancer |
| [[./overlays/app_nginx][app_nginx]] | Same as basic_app but uses nginx as the ingress |
| [[./overlays/app_self_ssl_nginx][app_self_ssl_nginx]] | Same as app_nginx but also uses self signed certificate |
| [[./overlays/app_secrets_nginx][app_secrets_nginx]] | Same as app_self_ssl_nginx but using external-secrets |
| [[./overlays/app_ssl_nginx/][app_ssl_nginx]] | Same as app_self_ssl_nginx but uses cert-manager |
| [[file:overlays/istio/][istio]] | Same as app_ssl_nginx but uses istio |
| [[file:overlays/istio_k8s_ingress/][istio_k8s_ingress]] | Same as istio but uses kubernetes ingress |
| [[./overlays/monitoring][monitoring]] | Application with prometheus metrics for testing prometheus |
| [[./overlays/monitoring-istio/][monitoring-istio]] | Same as monitoring but for istio |
| [[file:overlays/basic_app_internal/][basic_app_internal]] | Same as basic_app but application isn't exposed |
| [[file:overlays/basic_app_internal_pv/][basic_app_internal_pv]] | Same as basic_app_internal but also uses persistent volume |
| [[file:overlays/app_internal_istio/][app_internal_istio]] | Same as basic_app_internal but uses cloud's internal LB |
| [[file:overlays/istio-websockets/][istio_websockets]] | Same as istio but demonstrates websocket app with sidecar pattern |
| [[file:overlays/app_internal_nginx/][app_internal_nginx]] | Same as app_internal_istio but uses nginx ingress |
| [[file:overlays/istio_canary/][istio_canary]] | Canary Deployment strategy using Istio |
| [[file:overlays/nginx_canary/][nginx_canary]] | Canary Deployment strategy using NGINX |
| [[file:overlays/argo_rollouts_nginx_canary/][argo_rollouts_nginx_canary]] | Canary Deployment strategy using NGINX and Argo Rollouts |
| [[file:overlays/argo_rollouts_nginx_canary_v2/][argo_rollouts_nginx_canary_v2]] | Same as [[file:overlays/argo_rollouts_nginx_canary/][argo_rollouts_nginx_canary]] but uses Deployment |
| [[file:overlays/argo_rollouts_nginx_analysis/][argo_rollouts_nginx_analysis]] | Same as argo_rollouts_nginx_canary but with Analysis template |
| [[file:php_app][php_app]] | PHP application demo with Ingress and cert-manager |
| [[file:php_app_mixed][php_app_mixed]] | Same as [[file:php_app/][php_app]] but also serves static content. |
| [[file:overlays/nginx_blue_green/][nginx_blue_green]] | Blue green deployment using NGINX |
| [[file:overlays/nginx_rollout_blue_green/][nginx_rollout_blue_green]] | Blue green deployment using NGINX and Argo Rollouts |
| [[file:overlays/istio_blue_greeen/][istio_blue_green]] | Blue green deployment using Istio |
| [[file:overlays/istio_argo_rollouts_blue_green/][istio_argo_rollouts_blue_green]] | Blue green deployment using Istio and Argo Rollouts |

* Usage

See the *just* help targets:

#+begin_src sh :exports both :eval never-export :results verbatim
just
#+end_src

#+RESULTS:
#+begin_example
Available recipes:
default # List all recipies
build-base # Build base kustomization
build-base-app # Build base-app kustomization
apply-base-app # Apply base-app to cluster
remove-base-app # Remove base-app from the cluster
build-base-internal-app # Build base-internal-app kustomization
apply-base-internal-app # Apply base-internal-app to cluster
remove-base-internal-app # Remove base-internal-app from the cluster
build-base-internal-app-pv # Build base-internal-app-pv kustomization
apply-base-internal-app-pv # Apply base-internal-app-pv to cluster
remove-base-internal-app-pv # Remove base-internal-app-pv from the cluster
build-basic-nginx-app # Build basic-nginx-app kustomization
apply-basic-nginx-app # Apply basic-nginx-app to cluster
remove-basic-nginx-app # Remove basic-nginx-app from the cluster
build-self-nginx-app # Build app_self_ssl_nginx overlay
apply-self-nginx-app # Build app_self_ssl_nginx overlay
remove-self-nginx-app # Remove basic-nginx-app from the cluster
build-app-secret-nginx # Build app-secret-nginx overlay
apply-app-secret-nginx # Build app-secret-nginx overlay
remove-app-secret-nginx # Remove app-secret-nginx from the cluster
build-app-ssl-nginx # Build app_ssl_nginx overlay
apply-app-ssl-nginx # Apply app-ssl-nginx overlay
remove-app-ssl-nginx # Remove app-ssl-nginx from the cluster
build-istio-app # Build istio overlay
apply-istio-app # Apply istio overlay
remove-istio-app # Remove istio overlay
build-monitoring-app # Build monitoring overlay
apply-monitoring-app # Apply monitoring overlay
remove-monitoring-app # Remove monitoring overlay
build-monitoring-istio-app # Build monitoring-istio overlay
apply-monitoring-istio-app # Apply monitoring-istio overlay
remove-monitoring-istio-app # Remove monitoring-istio overlay
build-istio-k8s-ingress-app # Build istio-k8s-ingress overlay
apply-istio-k8s-ingress-app # Apply istio-k8s-ingress overlay
remove-istio-k8s-ingress-app # Remove istio-k8s-ingress overlay
build-app-internal-istio # Build app-internal-istio overlay
apply-app-internal-istio # Apply app-internal-istio overlay
remove-app-internal-istio # Remove app-internal-istio overlay
build-istio-websocket # Build istio-websocket overlay
apply-istio-websocket # Apply istio-websocket overlay
remove-istio-websocket # Remove istio-websocket overlay
build-app-internal-nginx # Build app-internal-nginx overlay
apply-app-internal-nginx # Apply app-internal-nginx overlay
remove-app-internal-nginx # Remove app-internal-nginx overlay
build-istio-canary # Build istio-canary overlay
apply-istio-canary # Apply istio-canary overlay
remove-istio-canary-app # Remove istio-canary overlay
build-nginx-canary # Build nginx-canary overlay
apply-nginx-canary # Apply nginx-canary overlay
remove-nginx-canary-app # Remove nginx-canary overlay
build-argo-rollouts-nginx-canary # Build argo-rollouts-nginx-canary overlay
apply-argo-rollouts-nginx-canary # Apply argo-rollouts-nginx-canary overlay
remove-argo-rollouts-nginx-canary-app # Remove argo-rollouts-nginx-canary overlay
build-argo-rollouts-nginx-canary_v2 # Build argo-rollouts-nginx-canary_v2 overlay
apply-argo-rollouts-nginx-canary_v2 # Apply argo-rollouts-nginx-canary_v2 overlay
remove-argo-rollouts-nginx-canary_v2 # Remove argo-rollouts-nginx-canary_v2 overlay
build-argo-rollouts-nginx-analysis # Build argo-rollouts-nginx-analysis-analysis overlay
apply-argo-rollouts-nginx-analysis # Apply argo-rollouts-nginx-analysis-analysis overlay
remove-argo-rollouts-nginx-analysis # Remove argo-rollouts-nginx-analysis-analysis overlay
build-php-app # Build php app
apply-php-app # Apply php app
remove-php-app # Remove php app
build-php-mixed-app # Build php mixed app
apply-php-mixed-app # Apply php mixed app
remove-php-mixed-app # Remove php mixed app
build-nginx-bg-app # Build NGINX blue green app
apply-nginx-bg-app # Apply NGINX blue green app
remove-nginx-bg-app # Remove NGINX blue green app
build-nginx-rbg-app # Build NGINX blue green app using rollouts
apply-nginx-rbg-app # Apply NGINX blue green app using rollouts
remove-nginx-rbg-app # Remove NGINX blue green app using rollouts
build-istio-bg-app # Build Istio blue green app
apply-istio-bg-app # istio_blue_greeen ISTIO blue green app
remove-istio-bg-app # Remove ISTIO blue green app
build-istio-rbg-app # Build Istio blue green app using rollouts
apply-istio-rbg-app # istio_blue_greeen ISTIO blue green app using rollouts
remove-istio-rbg-app # Remove ISTIO blue green app using rollouts
check # Check kubectl
#+end_example

More detailed documentation is availabe in each of the overlays
directory.