diff --git a/datakit-elinker.template.yaml b/datakit-elinker.template.yaml index cd5e629f44..3f725ed4a1 100644 --- a/datakit-elinker.template.yaml +++ b/datakit-elinker.template.yaml @@ -41,7 +41,7 @@ spec: containers: - name: datakit-elinker image: pubrepo.guance.com/datakit/datakit-elinker:{{.Version}} - imagePullPolicy: Always + imagePullPolicy: IfNotPresent env: - name: POD_NAME valueFrom: diff --git a/datakit.template.yaml b/datakit.template.yaml index 7a66dc3953..cde9ab7fdb 100644 --- a/datakit.template.yaml +++ b/datakit.template.yaml @@ -194,7 +194,7 @@ spec: # value: iploc # # ---iploc-end image: pubrepo.guance.com/datakit/datakit:{{.Version}} - imagePullPolicy: Always + imagePullPolicy: IfNotPresent name: datakit ports: - containerPort: 9529