GithubHelp home page GithubHelp logo

bhavinshah7 / hello-world-spring-boot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datawire/hello-world-spring-boot

0.0 0.0 0.0 63 KB

Service template for creating a Spring Boot service with Forge, Telepresence, and Ambassador

License: Apache License 2.0

Java 100.00%

hello-world-spring-boot's Introduction

Hello, World (Java/Spring Boot)

This is a Java/Spring Boot template for building a microservice in Kubernetes and Docker. This template is designed for use with Forge, Telepresence, and Ambassador.

Repository structure

The main files in this repository are:

  • Dockerfile specifies how the application is built and packaged
  • k8s/deployment.yaml contains a templated Kubernetes manifest, with additional annotations for configuring Ambassador
  • service.yaml contains values (typically configured by a developer) that will be instantiated into the Kubernetes manifest. This service.yaml has also been configured to support fast incremental container builds with Forge.
  • src/ contains the actual Java application

Usage

  • To deploy this service into Kubernetes from source, type forge deploy. If you want to expose this service automatically through an API Gateway, make sure you've installed Ambassador first
  • To run this service locally via Telepresence:
    • Build a local dev environment: docker build . -t spring-boot-dev-local
    • Deploy into Kubernetes, if you haven't already ('forge deploy')
    • Run Telepresence: telepresence --swap-deployment hello-spring-master --docker-run --rm -i -t spring-boot-dev-local

License

Licensed under Apache 2.0. Please see LICENSE for details.

hello-world-spring-boot's People

Contributors

richarddli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.