GithubHelp home page GithubHelp logo

jaydip189 / springboot-on-openshift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhat-developer-demos/springboot-on-openshift

1.0 2.0 0.0 8.76 MB

The repository to hold demo materials of the talk done on Bangalore Kubernetes/OpenShift meetup on Jun 10 2017

springboot-on-openshift's Introduction

Java Microservices with Spring Boot on Kubernetes/OpenShift

This repository holds the demo sources of Spring Boot on Kubernetes/OpenShift. The demos cover the basics of getting started with Spring Boot on Kubernetes/OpenShift covering the following,

Pre-requisite

Before you try the demos download and setup minishift or CDK

Start minishift

 minishift --profile springboot_msa_on_k8s --memory=4096 --cpus=2 start (1)
  1. Start a minishift with 4GB memory and 2 CPUS and profile name called springboot_msa_on_k8s

Stop minishift

 minishift stop
Tip
  • to setup DOCKER* variables in the current shell execute command $(eval minikube docker-env)

  • to setup OpenShift environment variables in the current shell execute command $(eval minikube oc-env)

Common commands

 ./mvnw fabric8:deploy (1)
 ./mvnw fabric8:undeploy (2)
 ./mvnw fabric8:resource (3)
  1. build and deploy the maven project to OpenShift/Kubernetes

  2. undeploy the maven project if it exits in OpenShift/Kubernetes

  3. Generate the Kubernetes/OpenShift manifests

springboot-on-openshift's People

Contributors

kameshsampath avatar

Stargazers

Jaydip Jadeja avatar

Watchers

James Cloos avatar Jaydip Jadeja 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.