修改gateway挂在
This commit is contained in:
parent
84d3dae066
commit
2a859137a7
@ -25,7 +25,7 @@ spec:
|
|||||||
- name: agent-container
|
- name: agent-container
|
||||||
image: apache/skywalking-java-agent:9.0.0-java8
|
image: apache/skywalking-java-agent:9.0.0-java8
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: skywalking
|
- name: skywalking-agent
|
||||||
mountPath: /agent
|
mountPath: /agent
|
||||||
command: [ "/bin/sh" ]
|
command: [ "/bin/sh" ]
|
||||||
args: [ "-c", "cp /skywalking/agent/optional-plugins/apm-nacos-client-2.x-plugin-9.0.0.jar /skywalking/agent/plugins/\n
|
args: [ "-c", "cp /skywalking/agent/optional-plugins/apm-nacos-client-2.x-plugin-9.0.0.jar /skywalking/agent/plugins/\n
|
||||||
|
|||||||
@ -25,7 +25,7 @@ spec:
|
|||||||
- name: agent-container
|
- name: agent-container
|
||||||
image: apache/skywalking-java-agent:9.0.0-java8
|
image: apache/skywalking-java-agent:9.0.0-java8
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: skywalking
|
- name: skywalking-agent
|
||||||
mountPath: /agent
|
mountPath: /agent
|
||||||
command: [ "/bin/sh" ]
|
command: [ "/bin/sh" ]
|
||||||
args: [ "-c", "cp /skywalking/agent/optional-plugins/apm-nacos-client-2.x-plugin-9.0.0.jar /skywalking/agent/plugins/\n
|
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
|
- name: host-time
|
||||||
readOnly: true
|
readOnly: true
|
||||||
mountPath: /etc/localtime
|
mountPath: /etc/localtime
|
||||||
|
- name: skywalking-agent
|
||||||
|
mountPath: /skywalking
|
||||||
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
terminationMessagePath: /nfs/data/qiuguo/iot/logs
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
@ -73,6 +75,8 @@ spec:
|
|||||||
- name: host-time
|
- name: host-time
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/localtime
|
path: /etc/localtime
|
||||||
|
- name: skywalking-agent
|
||||||
|
emptyDir: { }
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user