Code Monkey home page Code Monkey logo

jhipster-control-center-k8s-sample's Introduction

Sample App for JHipster Control Center

Repository with samples to test JHipster Control Center Kubernetes Integration.

Quickstart

Install and start Minikube.

Create a RoleBinding for Kubernetes Service Discovery

kubectl create clusterrolebinding system-default-cluster-admin-binding --clusterrole=cluster-admin --user=system:serviceaccount:default:default

Yeah, Cluster Admin, this is just a test!

Run JHipster Control Center:

kubectl run jhipstercontrolcenter --image=cedriclamalle/jhipstercontrolcenter --port=7419 --env="SPRING_PROFILES_ACTIVE=prod"

Map port 7419:

kubectl port-forward pods/jhipstercontrolcenter 7419:7419

Now JHipster Control Center is running and available at http://localhost:7419. Next step is to run the sample app generated with JHipster 6.10.1.

For this example we'll use Skaffold.

โš ๏ธ you'll need to edit src/main/resources/application.properties and change the dekorate.docker.group to your dockerhub login.

git clone https://github.com/cedric-lamalle/jhipster-control-center-k8s-sample
cd jhipster-control-center-k8s-sample/sample-app-1
skaffold dev

This will build the executable, the Docker image with jib and deploy the application in Minikube.

Screenshots

Instances List

Instances List

Instance Details

Instance Details

Application Metrics

Application Metrics

Health Checks

Health Checks

jhipster-control-center-k8s-sample's People

Contributors

cedric-lamalle avatar

Stargazers

 avatar

Watchers

 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.