Skip to content

An adaptation of the e2e demo using tkg-lab as a basis

Notifications You must be signed in to change notification settings

jgalvin98/tkg-lab-e2e-adaptation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

End to End Tanzu Demo

Overview

This repo provides an end to end Tanzu experience showcasing developer and platform operator perspectives. The end state enables a demo flow that starts with an update to the Spring Pet Clinic spring boot application and ends with the updated application in production. Along the way, the CI process compiles, tests, and packages the application, then triggers then triggers the Tanzu Build Service to containerize the app and push it to Harbor. Harbor scans the image for vulnerabilities. The CD process identifies a new image, publishes a deploy event to Tanzu Observability, and then apply's updated configuration for the app in Tanzu Kubernetes Grid. The demo also highlights the devops experience provisioning the mysql database used by Spring Pet Clinic using Kubeapps and the Tanzu Application Catalog, as well as monitoring the app specific Tanzu Observability dashboard with the deploy events visible on the charts. Finally we showcase the platform operator experience setting up daily backups for the Spring Pet Clinic workspace in Tanzu Mission Control and then accessing Kubernetes Cluster Dashboards in Tanzu Observability.

End to End Flow

Big shoutout to my peers who created this demo, which was was the foundation of this https://github.com/Pivotal-Field-Engineering/tanzu-gitops

How to Get Everything Setup

  1. Setup Foundational Lab Environment and Bonus Labs
  2. Setup Environment Specific Params Yaml
  3. Install TBS And OOTB Dependencies
  4. Setup TBS Demo Stack and Cluster Builder
  5. Setup Workspace and Pet Clinic Namespace
  6. Setup Spring Pet Clinic TBS Project Namespace
  7. Deploy Spring Pet Clinic MySql Database
  8. Setup spring-petclinic code and config repositories
  9. Create Concourse Pipeline for Spring Pet Clinic
  10. Create TO Wavefront Dashboard
  11. Update TBS Stack to Remediate CVEs
  12. Setup Load Generation for More Interesting Dashboards

Execute the Demo

With the above in place, you are now set to deliver an awesome short demo showcasing Tanzu!

Execute the Demo

Key Capabilities Explained

  1. Custom Events in Tanzu Observability
  2. Concourse / Tanzu Build Service Integration
  3. TBS Rebase Resolves Vulnerabilities

One-off Activities

One-off Operations

About

An adaptation of the e2e demo using tkg-lab as a basis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.2%
  • Shell 18.8%