Commit f36d8439 by 蒋勇

d

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