From f6bb94a2b141a211ce2bff171bf8af2401064a58 Mon Sep 17 00:00:00 2001 From: dmitchsplunk Date: Thu, 18 Apr 2024 14:07:34 -0700 Subject: [PATCH] updated image pull policy for tagging workshop --- workshop/tagging/9-build-and-push-to-dockerhub.sh | 2 +- .../creditcheckservice-dockerhub.yaml | 2 +- .../creditcheckservice/creditcheckservice-dockerhub.yaml | 2 +- .../creditprocessorservice-dockerhub.yaml | 2 +- workshop/tagging/loadgenerator/loadgenerator-dockerhub.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/workshop/tagging/9-build-and-push-to-dockerhub.sh b/workshop/tagging/9-build-and-push-to-dockerhub.sh index ef7e04821d..d29e0a7220 100755 --- a/workshop/tagging/9-build-and-push-to-dockerhub.sh +++ b/workshop/tagging/9-build-and-push-to-dockerhub.sh @@ -10,7 +10,7 @@ # # Before running this script, you must run docker login and authenticate # to the desired docker hub account -# +# # (1) Build the creditcheckservice, creditprocessorservice, and loadgenerator images docker build -t derekmitchell399/credit-check-service:1.0 creditcheckservice diff --git a/workshop/tagging/creditcheckservice-with-tags/creditcheckservice-dockerhub.yaml b/workshop/tagging/creditcheckservice-with-tags/creditcheckservice-dockerhub.yaml index aae5466f25..1f3c4241e4 100644 --- a/workshop/tagging/creditcheckservice-with-tags/creditcheckservice-dockerhub.yaml +++ b/workshop/tagging/creditcheckservice-with-tags/creditcheckservice-dockerhub.yaml @@ -17,7 +17,7 @@ spec: containers: - name: creditcheckservice image: derekmitchell399/credit-check-service:1.1 - imagePullPolicy: Never + imagePullPolicy: IfNotPresent ports: - containerPort: 8888 env: diff --git a/workshop/tagging/creditcheckservice/creditcheckservice-dockerhub.yaml b/workshop/tagging/creditcheckservice/creditcheckservice-dockerhub.yaml index 4616c31f26..50d36efcd2 100644 --- a/workshop/tagging/creditcheckservice/creditcheckservice-dockerhub.yaml +++ b/workshop/tagging/creditcheckservice/creditcheckservice-dockerhub.yaml @@ -17,7 +17,7 @@ spec: containers: - name: creditcheckservice image: derekmitchell399/credit-check-service:1.0 - imagePullPolicy: Never + imagePullPolicy: IfNotPresent ports: - containerPort: 8888 env: diff --git a/workshop/tagging/creditprocessorservice/creditprocessorservice-dockerhub.yaml b/workshop/tagging/creditprocessorservice/creditprocessorservice-dockerhub.yaml index 2df083ce8b..78956c2ab8 100644 --- a/workshop/tagging/creditprocessorservice/creditprocessorservice-dockerhub.yaml +++ b/workshop/tagging/creditprocessorservice/creditprocessorservice-dockerhub.yaml @@ -17,7 +17,7 @@ spec: containers: - name: creditprocessorservice image: derekmitchell399/credit-processor-service:1.0 - imagePullPolicy: Never + imagePullPolicy: IfNotPresent ports: - containerPort: 8899 env: diff --git a/workshop/tagging/loadgenerator/loadgenerator-dockerhub.yaml b/workshop/tagging/loadgenerator/loadgenerator-dockerhub.yaml index d07cf18aa9..ec0c075121 100644 --- a/workshop/tagging/loadgenerator/loadgenerator-dockerhub.yaml +++ b/workshop/tagging/loadgenerator/loadgenerator-dockerhub.yaml @@ -70,7 +70,7 @@ spec: privileged: false readOnlyRootFilesystem: true image: derekmitchell399/loadgenerator:1.0 - imagePullPolicy: Never + imagePullPolicy: IfNotPresent env: - name: CREDITCHECK_ADDR value: "creditcheckservice:8888"