1.基于k8s部署Mysql
参考:k8s部署mysql
我安装是去掉了卷挂载。安装过程可能出现磁盘容量不够,可以通过df -h查看。

镜像下载得比较慢,可以先用docker拉取镜像。


2.搭建SpringBoot项目
(1)搭建maven项目,pom.xml依赖如下:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.12.RELEASE</version>
</parent>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<flowable.version>6.7.2</flowable.version>
</properties>
<dependencies>
<dependency>
<groupId&g

最低0.47元/天 解锁文章
2723

被折叠的 条评论
为什么被折叠?



