Commit c1b54404 by 蒋勇

d

parent ae7c9995
apiVersion: apps/v1
kind: Deployment
metadata:
name: tmreportdoc
namespace: chaolai
labels:
app: tmreportdoc
spec:
replicas: 1
selector:
matchLabels:
app: tmreportdoc
template:
metadata:
labels:
app: tmreportdoc
spec:
restartPolicy: Always
containers:
- name: tmreportdoc
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:201.0.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
env:
- name: TZ
value: Asia/Shanghai
- name: LANG
value: zh_CN.UTF-8
---
kind: Service
apiVersion: v1
metadata:
labels:
app: tmreportdoc-service
name: tmreportdoc-service
namespace: chaolai
spec:
type: NodePort
ports:
- port: 80
targetPort: 80
selector:
app: tmreportdoc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment