Commit 88a58f52 by 蒋勇

d

parent 2efde3cd
apiVersion: apps/v1
kind: Deployment
metadata:
name: createlogo
namespace: chaolai
labels:
app: createlogo
spec:
replicas: 1
selector:
matchLabels:
app: createlogo
template:
metadata:
labels:
app: createlogo
spec:
restartPolicy: Always
containers:
- name: createlogo
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:699.0.2
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: ailogo-CreatLogo-Serverice
name: ailogo-CreatLogo-Serverice
namespace: chaolai
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 80
selector:
app: createlogo
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