Docker — Beginner’s Guide — Part 1: Images & Containers

https://medium.com/codingthesmartway-com-blog/docker-beginners-guide-part-1-images-containers-6f3507fffc98

Docker — Beginner’s Guide — Part 2: Services

https://medium.com/codingthesmartway-com-blog/docker-beginners-guide-part-2-services-eb49117b4241

docker-compose documents

Overview of Docker Compose

https://docs.docker.com/compose/

docker-compose example

https://github.com/bitnami/bitnami-docker-wordpress

Learn Docker Beginner to Expert

https://medium.com/@kmdkhadeer/docker-get-started-9aa7ee662cea

Note: Docker 基本操作

Practice

Spring Boot Docker

https://spring.io/guides/topicals/spring-boot-docker/

Gateway Dockerfile

https://git.yizhoucp.cn/microservices/gateway/-/blob/master/Dockerfile

kubernetes

Learn Kubernetes Basics

https://kubernetes.io/docs/tutorials/kubernetes-basics/

Create a Kubernetes cluster

For Local Dev & Test

For Cloud

  • Alibaba Cloud ACK
  • AWS EKS

Deploy an app

Using kubectl to Create a Deployment

https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/

gateway example

https://git.yizhoucp.cn/microservices/deploy-config/-/blob/master/gateway/base/deployment.yaml

https://git.yizhoucp.cn/microservices/deploy-config/-/blob/master/gateway/base/service.yaml

Expose your app publicly

Viewing Pods and Nodes

https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/

Using a Service to Expose Your App

https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/

Scale up your app

Performing a Rolling Update

https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/

Scale up your app

Running Multiple Instances of Your App

https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/

Practice

中文参考书《Kubernetes in Action中文版》

https://www.amazon.cn/dp/B07MS89RJK/ref=sr_1_1?__mk_zh_CN=%E4%BA%9A%E9%A9%AC%E9%80%8A%E7%BD%91%E7%AB%99&dchild=1&keywords=kubernetes&sr=8-1

AWS EKS Workshop

https://www.eksworkshop.com/010_introduction/

AWS GCR EKS Workshop for China

https://github.com/aws-samples/eks-workshop-greater-china

CI/CD

CI

打包构建打出镜像,推送至镜像仓库

CD

多环境的部署、测试及发布

Jenkins

https://dzone.com/articles/new-way-of-cicd-in-kubernetes-with-jenkins-and-spi

Jenkins For Kubernetes

https://medium.com/@peiruwang/build-ci-cd-multibranch-pipeline-with-jenkins-and-kubernetes-637de560d55a

GitOps

GITOPS WITH WEAVE FLUX

https://www.eksworkshop.com/intermediate/260_weave_flux/

CONTINUOUS DEPLOYMENT WITH ARGOCD

https://www.eksworkshop.com/intermediate/290_argocd/

ArgoCD

https://argoproj.github.io/argo-cd/

Gitlab + ArgoCD

GitOps in Kubernetes with GitLab CI and ArgoCD

https://levelup.gitconnected.com/gitops-in-kubernetes-with-gitlab-ci-and-argocd-9e20b5d3b55b

Gitlab-ci example

https://git.yizhoucp.cn/microservices/gateway/-/blob/master/.gitlab-ci.yml

GitLab cloud native Helm Chart

https://docs.gitlab.com/charts/

Cloud Native App 基础设施架构

Loging

EFK

How to Deploy an EFK stack to Kubernetes

https://medium.com/avmconsulting-blog/how-to-deploy-an-efk-stack-to-kubernetes-ebc1b539d063

IMPLEMENT LOGGING WITH EFK

https://www.eksworkshop.com/intermediate/230_logging/prereqs/

Alibaba Cloud SLS

SLS PPT

Monitoring

Prometheus + Grafana

How to Monitor Kubernetes Cluster with Prometheus and Grafana?

https://medium.com/faun/how-to-monitor-kubernetes-cluster-with-prometheus-and-grafana-8ec7e060896f

Spring Boot metrics monitoring

Spring Boot Actuator metrics monitoring with Prometheus and Grafana

https://www.callicoder.com/spring-boot-actuator-metrics-monitoring-dashboard-prometheus-grafana/

Cloud Native App On Cloud

Alibaba Cloud

AWS