You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/11/19 17:24:14 UTC

[skywalking-showcase] branch main updated: Always pull images in case of `latest`

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git


The following commit(s) were added to refs/heads/main by this push:
     new f95cbb0  Always pull images in case of `latest`
f95cbb0 is described below

commit f95cbb06dbfab75ba9a06bfb5491c019918a8edb
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sat Nov 20 01:24:06 2021 +0800

    Always pull images in case of `latest`
---
 deploy/platform/kubernetes/feature-agent/resources.yaml       | 5 +++++
 deploy/platform/kubernetes/feature-cluster/resources.yaml     | 4 ++++
 deploy/platform/kubernetes/feature-event/resources.yaml       | 1 +
 deploy/platform/kubernetes/feature-single-node/resources.yaml | 3 +++
 4 files changed, 13 insertions(+)

diff --git a/deploy/platform/kubernetes/feature-agent/resources.yaml b/deploy/platform/kubernetes/feature-agent/resources.yaml
index 6f89b87..6a7d128 100644
--- a/deploy/platform/kubernetes/feature-agent/resources.yaml
+++ b/deploy/platform/kubernetes/feature-agent/resources.yaml
@@ -51,6 +51,7 @@ spec:
       containers:
         - name: gateway
           image: ${HUB}/gateway-service:${TAG}
+          imagePullPolicy: Always
           ports:
             - containerPort: 80
           env:
@@ -94,6 +95,7 @@ spec:
       containers:
         - name: songs
           image: ${HUB}/songs-service:${TAG}
+          imagePullPolicy: Always
           ports:
             - containerPort: 80
           env:
@@ -137,6 +139,7 @@ spec:
       containers:
         - name: recommendation
           image: ${HUB}/recommendation-service:${TAG}
+          imagePullPolicy: Always
           ports:
             - containerPort: 80
           env:
@@ -180,6 +183,7 @@ spec:
       containers:
         - name: app
           image: ${HUB}/app:${TAG}
+          imagePullPolicy: Always
           ports:
             - containerPort: 80
           env:
@@ -210,3 +214,4 @@ spec:
       containers:
         - name: app
           image: ${HUB}/load-gen:${TAG}
+          imagePullPolicy: Always
diff --git a/deploy/platform/kubernetes/feature-cluster/resources.yaml b/deploy/platform/kubernetes/feature-cluster/resources.yaml
index c7bc02a..cbcb80f 100644
--- a/deploy/platform/kubernetes/feature-cluster/resources.yaml
+++ b/deploy/platform/kubernetes/feature-cluster/resources.yaml
@@ -50,6 +50,7 @@ spec:
       containers:
         - name: elasticsearch
           image: ${ES_IMAGE}
+          imagePullPolicy: Always
           ports:
             - containerPort: 9200
           env:
@@ -123,6 +124,7 @@ spec:
       containers:
         - name: oap-init
           image: ${SW_OAP_IMAGE}
+          imagePullPolicy: Always
           env: # @feature: cluster; make sure all env vars are the same with the cluster nodes as this will affect templates / indices
             - name: JAVA_OPTS
               value: "-Dmode=init" # @feature: cluster; set the OAP mode to "init" so the job can complete
@@ -170,6 +172,7 @@ spec:
       containers:
         - name: oap
           image: ${SW_OAP_IMAGE}
+          imagePullPolicy: Always
           resources:
             limits:
               cpu: 4000m
@@ -252,6 +255,7 @@ spec:
       containers:
         - name: rocket-bot
           image: ${SW_ROCKET_BOT_IMAGE}
+          imagePullPolicy: Always
           ports:
             - containerPort: 8080
           env:
diff --git a/deploy/platform/kubernetes/feature-event/resources.yaml b/deploy/platform/kubernetes/feature-event/resources.yaml
index bb32769..40c7158 100644
--- a/deploy/platform/kubernetes/feature-event/resources.yaml
+++ b/deploy/platform/kubernetes/feature-event/resources.yaml
@@ -74,6 +74,7 @@ spec:
       containers:
         - name: skywalking-event-exporter
           image: ${SW_EVENT_EXPORTER_IMAGE}
+          imagePullPolicy: Always
           args:
             - start
             - -v=debug
diff --git a/deploy/platform/kubernetes/feature-single-node/resources.yaml b/deploy/platform/kubernetes/feature-single-node/resources.yaml
index 02caeb6..fb5b7f7 100644
--- a/deploy/platform/kubernetes/feature-single-node/resources.yaml
+++ b/deploy/platform/kubernetes/feature-single-node/resources.yaml
@@ -50,6 +50,7 @@ spec:
       containers:
         - name: elasticsearch
           image: ${ES_IMAGE}
+          imagePullPolicy: Always
           ports:
             - containerPort: 9200
           env:
@@ -122,6 +123,7 @@ spec:
       containers:
         - name: oap
           image: ${SW_OAP_IMAGE}
+          imagePullPolicy: Always
           resources:
             limits:
               cpu: 4000m
@@ -201,6 +203,7 @@ spec:
       containers:
         - name: rocket-bot
           image: ${SW_ROCKET_BOT_IMAGE}
+          imagePullPolicy: Always
           ports:
             - containerPort: 8080
           env: