From 2a859137a7690636c5b0bcc48a5d5a7163a9b308 Mon Sep 17 00:00:00 2001 From: wulin Date: Tue, 5 Dec 2023 11:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9gateway=E6=8C=82=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/modules/user/deploy/deploy.yaml | 2 +- docker/qiuguo/gateway/deploy/deploy.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/modules/user/deploy/deploy.yaml b/docker/modules/user/deploy/deploy.yaml index 24030cc..ad28728 100644 --- a/docker/modules/user/deploy/deploy.yaml +++ b/docker/modules/user/deploy/deploy.yaml @@ -25,7 +25,7 @@ spec: - name: agent-container image: apache/skywalking-java-agent:9.0.0-java8 volumeMounts: - - name: skywalking + - name: skywalking-agent mountPath: /agent command: [ "/bin/sh" ] args: [ "-c", "cp /skywalking/agent/optional-plugins/apm-nacos-client-2.x-plugin-9.0.0.jar /skywalking/agent/plugins/\n diff --git a/docker/qiuguo/gateway/deploy/deploy.yaml b/docker/qiuguo/gateway/deploy/deploy.yaml index faa48c3..8ed67ce 100644 --- a/docker/qiuguo/gateway/deploy/deploy.yaml +++ b/docker/qiuguo/gateway/deploy/deploy.yaml @@ -25,7 +25,7 @@ spec: - name: agent-container image: apache/skywalking-java-agent:9.0.0-java8 volumeMounts: - - name: skywalking + - name: skywalking-agent mountPath: /agent command: [ "/bin/sh" ] args: [ "-c", "cp /skywalking/agent/optional-plugins/apm-nacos-client-2.x-plugin-9.0.0.jar /skywalking/agent/plugins/\n @@ -61,6 +61,8 @@ spec: - name: host-time readOnly: true mountPath: /etc/localtime + - name: skywalking-agent + mountPath: /skywalking terminationMessagePath: /nfs/data/qiuguo/iot/logs terminationMessagePolicy: File dnsPolicy: ClusterFirst @@ -73,6 +75,8 @@ spec: - name: host-time hostPath: path: /etc/localtime + - name: skywalking-agent + emptyDir: { } --- apiVersion: v1 kind: Service