1 Star 1 Fork 0

dbak/spring-boot-mongo-docker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
javawebapp-deployment.yml 596 Bytes
一键复制 编辑 原始数据 按行查看 历史
dbak 提交于 2022-03-07 09:06 . update javawebapp-deployment.yml.
---
apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: javawebapp
name: java-controller
spec:
replicas: 1
template:
metadata:
labels:
name: javawebapp
spec:
containers:
- image: dockerhandson/java-web-app:<BUILD_TAG>
name: javawebapp
ports:
- name: javawebapp
containerPort: 8080
---
# Node Port Service
apiVersion: v1
kind: Service
metadata:
labels:
name: javawebapp
name: javawebapp
spec:
type: NodePort
ports:
- port: 8080
targetPort: 8080
selector:
name: javawebapp
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dbak/spring-boot-mongo-docker.git
git@gitee.com:dbak/spring-boot-mongo-docker.git
dbak
spring-boot-mongo-docker
spring-boot-mongo-docker
master

搜索帮助