Skip to content

fnjoin/sample-deployment-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample-deployment-events

A sample spring-boot app that uses Kubernetes API for Java to detect important deployment events. Specifically, if detects when a Deployment has started and when it finishes.

Build Pre-requisites

  • JDK 11

Running Pre-requisites

  • Access to a Kubernetes cluster via kubectl
  • A namespace where you can schedule some deployments (dev by default)
  • The team label assigned to all deployments that you want this app to pay attention to

Building/Running the app

./gradlew bootRun

If you want to target a Kubernetes namespace other than dev, use the NAMESPACE environment variable:

NAMESPACE=other-ns ./gradlew bootRun

About

A sample spring-boot app that uses Kubernetes API for Java to detect important deployment events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages