40 pictures, hard core details how to play Microservices project in K8s!

Kubernetes , + Kubernetes Kuberneteskubernetes kubernetes 4kubernetesjavaspring boot RPCRESTFUL 1.1 Martin flowerler https://martinfowler

Kubernetes ,

+ Kubernetes Kubernetes

kubernetes kubernetes

4

  • kubernetes

javaspring boot RPCRESTFUL

1.1

Martin flowerler
https://martinfowler.com/articles/microservices.html

,0

1.2

www.demo.com ,www.demo.com a.demo.com. a.demo.com b.demo.com b.demo.com c.demo.comc.demo.com

kubernetes

1.3

1.3.1

10b.demo.com

eurekazookeeper, consul, Nacos APCPeureka

kubernetes kubernetes

1.3.2 Metrics

PrometheusGrafanaPrometheus + Grafana,

kubernetes Prometheus Prometheus 200500, JVMGCgranfana

1.3.3 logging

3

3Mertics Tracing logging

Metrics 200QPS

Logging

Tracing

kubernetes

kakfakafka

kafka IOIO

1.3.4 Tracing

(Metric)(Logging)(Tracing).

google google dapper

Google APM(Application Performance Monitor).

, cat pip, zipkin, skywalkinzipkin Zipkin

1.3.5

Nojavahystrixsentinel Sentinel

apollo)db,(redis) kubernetes

2.1

ajaxnginxa.demo.com a. demo.com b. demo.com, b. demo.com c. demo.com.

ab c javaMaven

3eureka

2.2

kubernetes3

2.3

ip

github logback.xml kafka.

2.4 a.demo.com b.demo.com c.demo.com

/hs. kubernetes

kubernetes yaml2

kubernetes

kuberneteskubernetes kubernetes Prometheus and GrafanaKubernetes

K8seasy,

  1. kubernetes
  2. kubernetes
  3. ,
  4. 3

3.1

K8seasy

https://github.com/xiaojiaqi/K8seasy_release_page

  • http://dl.K8seasy.com/

3 pack.2020.10.02.bin installer
kubernetes-server-linux-amd64.tar.gz
kubernetes

kubernetes

2

Kubernetes 192.168.2.0, master 192.168.2.50

1

sudo ./installer --genkey -hostlist=192.168.2.1

2

sudo ./installer   -kubernetestarfile kubernetes-server-linux-amd64v1.18.2.tar.gz -masterip 192.168.2.50

Kubernetes

3.

master 192.168.2.50

http://192.168.2.50:10000 dashboard,

http://192.168.2.50:8080 alertmanager

http://192.168.2.50:8081 Grafana ( admin, admin)

http://192.168.2.50:8082 Prometheus.

4.

http://192.168.2.50:1000 ? K8seasy

lens.kubeconfig ip Host

Lens | The Kubernetes IDE (Kuberneteslens.dev)
https://Kuberneteslens.dev/

lenslenslens.kubeconfig lens

lens

Lens

Kubernetes K8seasy sudo ./installer -h sudo ./installer -demo

Kubernetes Java Jardocker Dockerfile Yaml Github Kafka, 2Kafak Kafka

Kafka KafakLinux

4.1

Yaml

Docker-Hub,

Dashboard

Dashboard

Hosts

Kubernetes nginx-ingressMasterIP

dashboard eureka.ip, eurka

Kubernetes3eureka

Grafana jvm

Grafana Java

http://www.demo.com

get

3

zipkin zipkin.demo.com

sentinel sentinel

a b c 3

Sentinel

Grafanaheap

jvm Kubernetes

Kubernetes


Disclaimer: The content of this article is sourced from the internet. The copyright of the text, images, and other materials belongs to the original author. The platform reprints the materials for the purpose of conveying more information. The content of the article is for reference and learning only, and should not be used for commercial purposes. If it infringes on your legitimate rights and interests, please contact us promptly and we will handle it as soon as possible! We respect copyright and are committed to protecting it. Thank you for sharing.(Email:[email protected])