springboot kubernetes:Spring Boot Kubernetes 源码
springboot-kubernetes 使用以下命令创建docker映像 docker build -t springboot-k8s:1.0 使用以下命令创建部署 kubectl run springboot-k8s --image=springboot-k8s:1.0 --port 8080 --image-pull-policy=Never 使用以下命令创建服务 kubectl expose deployment springboot-k8s --type=NodePort 您可以使用以下命令扩展部署 kubectl scale --replicas=3 deployment/spr
下载地址
用户评论