Commit e2f61338 authored by 智勇's avatar 智勇

imagePullPolicy: IfNotPresent

parent 02e81750
...@@ -45,7 +45,7 @@ spec: ...@@ -45,7 +45,7 @@ spec:
containers: containers:
- name: {{serviceName}} - name: {{serviceName}}
image: ccr.ccs.tencentyun.com/{{image}} image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- mountPath: /home/logs - mountPath: /home/logs
name: filelog name: filelog
......
...@@ -24,7 +24,7 @@ spec: ...@@ -24,7 +24,7 @@ spec:
containers: containers:
- name: {{serviceName}} - name: {{serviceName}}
image: ccr.ccs.tencentyun.com/{{image}} image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
env: env:
- name: NAMESPACE - name: NAMESPACE
......
...@@ -22,7 +22,7 @@ spec: ...@@ -22,7 +22,7 @@ spec:
spec: spec:
containers: containers:
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: IfNotPresent
name: {{serviceName}}-6379 name: {{serviceName}}-6379
command: ["redis-server", "--port", "6379"] command: ["redis-server", "--port", "6379"]
resources: resources:
...@@ -44,7 +44,7 @@ spec: ...@@ -44,7 +44,7 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
periodSeconds: 5 periodSeconds: 5
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: IfNotPresent
name: {{serviceName}}-6380 name: {{serviceName}}-6380
command: ["redis-server", "--port", "6380"] command: ["redis-server", "--port", "6380"]
resources: resources:
...@@ -66,7 +66,7 @@ spec: ...@@ -66,7 +66,7 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
periodSeconds: 5 periodSeconds: 5
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: IfNotPresent
name: {{serviceName}}-6381 name: {{serviceName}}-6381
command: ["redis-server", "--port", "6381"] command: ["redis-server", "--port", "6381"]
resources: resources:
...@@ -88,7 +88,7 @@ spec: ...@@ -88,7 +88,7 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
periodSeconds: 5 periodSeconds: 5
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: IfNotPresent
name: {{serviceName}}-6382 name: {{serviceName}}-6382
command: ["redis-server", "--port", "6382"] command: ["redis-server", "--port", "6382"]
resources: resources:
...@@ -110,7 +110,7 @@ spec: ...@@ -110,7 +110,7 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
periodSeconds: 5 periodSeconds: 5
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: IfNotPresent
name: {{serviceName}}-6383 name: {{serviceName}}-6383
command: ["redis-server", "--port", "6383"] command: ["redis-server", "--port", "6383"]
resources: resources:
......
...@@ -41,7 +41,7 @@ spec: ...@@ -41,7 +41,7 @@ spec:
containers: containers:
- name: {{serviceName}} - name: {{serviceName}}
image: ccr.ccs.tencentyun.com/{{image}} image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- mountPath: /home/logs - mountPath: /home/logs
name: filelog name: filelog
......
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