Commit 6a84eae6 by 蒋勇

d

parent d15a4524
...@@ -6,10 +6,10 @@ metadata: ...@@ -6,10 +6,10 @@ metadata:
labels: labels:
app: createlogo app: createlogo
spec: spec:
replicas: 6 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: createlogo app: createlogo
template: template:
metadata: metadata:
labels: labels:
...@@ -17,24 +17,23 @@ spec: ...@@ -17,24 +17,23 @@ spec:
spec: spec:
restartPolicy: Always restartPolicy: Always
containers: containers:
- name: createlogo - name: createlogo
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:699.0.11 image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:699.0.11
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 80 - containerPort: 80
env: env:
- name: TZ - name: TZ
value: Asia/Shanghai value: Asia/Shanghai
- name: LANG - name: LANG
value: zh_CN.UTF-8 value: zh_CN.UTF-8
--- ---
kind: Service kind: Service
apiVersion: v1 apiVersion: v1
metadata: metadata:
labels: labels:
app: createlogo-service app: createlogo-service
name: createlogo-service name: createlogo-service
namespace: chaolai namespace: chaolai
spec: spec:
...@@ -43,5 +42,4 @@ spec: ...@@ -43,5 +42,4 @@ spec:
- port: 80 - port: 80
targetPort: 80 targetPort: 80
selector: selector:
app: createlogo 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