Doc: Update setup agent in kubernetes from 'containers' to 'initContainers'. (#44)
This commit is contained in:
parent
5133faab4a
commit
66a93ead73
|
|
@ -35,15 +35,16 @@ spec:
|
|||
- name: skywalking-agent
|
||||
emptyDir: { }
|
||||
|
||||
containers:
|
||||
initContainers:
|
||||
- name: agent-container
|
||||
image: apache/skywalking-java-agent:8.4.0-alpine
|
||||
image: apache/skywalking-java-agent:8.7.0-alpine
|
||||
volumeMounts:
|
||||
- name: skywalking-agent
|
||||
mountPath: /agent
|
||||
command: [ "/bin/sh" ]
|
||||
args: [ "-c", "cp -R /skywalking/agent /agent/" ]
|
||||
|
||||
containers:
|
||||
- name: app-container
|
||||
image: springio/gs-spring-boot-docker
|
||||
volumeMounts:
|
||||
|
|
|
|||
Loading…
Reference in New Issue