Skip to content
This repository has been archived by the owner on Jan 12, 2018. It is now read-only.

solairerove/happy-wizard

Repository files navigation

spring-boot-k8s-hello-world

Spring Boot k8s Hello World starter template

Kubernetes

k8s doc

Env Prerequisites:

✗ java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)

✗ kotlin -version
Kotlin version 1.2.0 (JRE 1.8.0_152-b16)

✗ mvn -v
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T22:39:06+03:00)
Maven home: /Users/solairerove/.sdkman/candidates/maven/current
Java version: 1.8.0_152, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre
Default locale: en_BY, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.1", arch: "x86_64", family: "mac"

✗ docker -v
Docker version 17.09.0-ce, build afdb6d4

✗ docker-compose -v
docker-compose version 1.16.1, build 6d1ac21

Update config-server:

curl -X POST http://localhost:8001/bus/refresh

Run due docker compose:

mvn clean install -P docker
docker-compose build
docker-compose up