cloudurable / kube-training Goto Github PK
View Code? Open in Web Editor NEWKubernetes Training
Kubernetes Training
Review QA Part 1
Set up Prometheus and use Spring Metrics endpoint form Spring Actuator.
Effort: XLarge
Review QA Part 2
Create basic hello world app with Spring Boot.
Use Spring initializer
Use gradle
Produce Hello World.
Should create fat jar.
Fat jar should be runnable
Needs to run with gradle from cmd and be curl-able.
Finish Ingress tutorials
Get Part 1 to Part 4 edited and published.
finish Spring Boot Java description Part 1
Finish Docker description for Spring Boot hello world (part 2)
add docker-compose
Finish Part 3 Kubernetes deploy
Create a second Service REST/JSON Spring service. Gets called by the first service.
Call this service from the frontend hello world
apiVersion: v1
kind: Service
metadata:
name: hello-world
spec:
ports:
- port: 8080
name: hello-world
selector:
app: hello-world
clusterIP: None
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world
spec:
selector:
matchLabels:
app: hello-world
strategy:
type: Recreate
template:
metadata:
labels:
app: hello-world
spec:
containers:
- image: cloudurable/hello-kube:0.0.1
name: hello-world
ports:
- containerPort: 8080
name: hello-world
command: ["java", "-jar", "/app.jar"]
Use ready and liveness checks for Kubernetes.
Level of effort
Medium
Kube manifest.
Configure liveness check to call Spring health end point.
foo bar baz..
Repeat this issue by running this commands
gradle runFatJar
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.