2 Star 0 Fork 1

mirrors_rancher/pipeline-example-maven

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
deployment.yaml 645 Bytes
一键复制 编辑 原始数据 按行查看 历史
phli 提交于 2018-09-10 14:58 . Merge pull request #4 from gitlawr/image_env
kind: Service
apiVersion: v1
metadata:
name: greenhouse-service
spec:
selector:
app: greenhouse
type: NodePort
ports:
- protocol: TCP
port: 8080
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: example-greenhouse
labels:
app: greenhouse
spec:
replicas: 1
selector:
matchLabels:
app: greenhouse
template:
metadata:
labels:
app: greenhouse
spec:
imagePullSecrets:
- name: pipeline-docker-registry
containers:
- name: maven
image: ${CICD_IMAGE}:${CICD_EXECUTION_SEQUENCE}
ports:
- containerPort: 8080
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_rancher/pipeline-example-maven.git
[email protected]:mirrors_rancher/pipeline-example-maven.git
mirrors_rancher
pipeline-example-maven
pipeline-example-maven
master

搜索帮助