Commit e5869995 by 蒋勇

d

parent 12d2596f
...@@ -9,7 +9,7 @@ spec: ...@@ -9,7 +9,7 @@ spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: frontpub app: frontpub
template: template:
metadata: metadata:
labels: labels:
...@@ -20,24 +20,23 @@ spec: ...@@ -20,24 +20,23 @@ spec:
- name: shared-data - name: shared-data
emptyDir: {} emptyDir: {}
containers: containers:
- name: frontpub - name: frontpub
image: registry.cn-beijing.aliyuncs.com/hantang2/staticngnix:0.0.2 image: registry.cn-beijing.aliyuncs.com/hantang2/staticpub:0.42.1
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: frontpub-service app: frontpub-service
name: frontpub-service name: frontpub-service
namespace: chaolai namespace: chaolai
spec: spec:
...@@ -47,5 +46,4 @@ spec: ...@@ -47,5 +46,4 @@ spec:
targetPort: 80 targetPort: 80
nodePort: 21101 nodePort: 21101
selector: selector:
app: frontpub app: frontpub
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