修改gateway挂在

This commit is contained in:
wulin 2023-12-05 11:24:53 +08:00
parent 84d3dae066
commit 2a859137a7
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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