Skip to content

Example project built with spring cloud HoxtonSR6, Dekorate, Skaffold.

Notifications You must be signed in to change notification settings

zeagur/skaffold-dekorate-springcloud-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skaffold-dekorate-springcloud-example

Example project built with spring cloud HoxtonSR6, Dekorate, Skaffold.

This repository is an example of how to create spring cloud application and hide the complexity of creating kubernetes deployment resources files with Dekorate , built with Jib and deploy directly to kubernetes local cluster e.g. minikube/kind/microk8s with Skaffold

Tools used

Test run the application

  1. Install Skaffold cli from this link
  2. Open this project in your favorite IDE (I recommended Intellij IDEA or VS Code)
  3. Setting up your local/Remote cluster if you did not have any cluster yet, you can refer to these for starter.
  4. there are 2 simple approaches to build & deploy the application
    • 3.1 via Command line
      • open your terminal.
      • cd to project directory
      $ mvn clean install
      $ skaffold dev
      
    • 3.2 via plugins
      • Find maven tab and click on install.
      • mvn install
      • Search for plugin named Cloud Code by google, install then restart your IDE
      • cloud code plugin
      • Open Run/Debug Configuration(in the top tools bar)
      • Select + sign then choose Cloud Code : Kubernetes
      • in Run/Debug Setting.
        • Choose your kube config
        • choose your context via Deployment section e.g. minikube/kind
      • click run

About

Example project built with spring cloud HoxtonSR6, Dekorate, Skaffold.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages