Commit e2f61338 authored by 智勇's avatar 智勇

imagePullPolicy: IfNotPresent

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