From c25caf60dbf63ce5cdfe18d91add11b8d9bba0c4 Mon Sep 17 00:00:00 2001 From: coanor Date: Fri, 1 Nov 2024 10:54:10 +0800 Subject: [PATCH] fix: change docker image pull policy to IfNotPresent --- datakit-elinker.template.yaml | 2 +- datakit.template.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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