Commit f899d691 by 王昆

Merge branch 'master' of gitlab.gongsibao.com:jiangyong/k8syml

parents 94cbbfcd 9b6dc36c
apiVersion: apps/v1
kind: Deployment
metadata:
name: entprofile
namespace: chaolai
labels:
app: entprofile
spec:
replicas: 1
selector:
matchLabels:
app: entprofile
template:
metadata:
labels:
app: entprofile
spec:
restartPolicy: Always
containers:
- name: entprofile
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:179.1.4
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: entprofile-service
name: entprofile-service
namespace: chaolai
spec:
type: NodePort
ports:
- port: 80
targetPort: 80
nodePort: 30003
selector:
app: entprofile
...@@ -21,7 +21,7 @@ spec: ...@@ -21,7 +21,7 @@ spec:
emptyDir: {} emptyDir: {}
containers: containers:
- name: fktaxctl - name: fktaxctl
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:99.0.59 image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:99.0.60
volumeMounts: volumeMounts:
- name: shared-data - name: shared-data
mountPath: /tmp mountPath: /tmp
......
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