add java agent injector link (#112)

This commit is contained in:
dashanji 2022-02-27 18:56:33 +08:00 committed by GitHub
parent 9efec16c1b
commit 74b130c827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -15,6 +15,7 @@ Release Notes.
* Ignore the synthetic constructor created by the agent in the Spring patch plugin.
#### Documentation
* Add link about java agent injector.
All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/120?closed=1)

View File

@ -21,7 +21,11 @@ enable SkyWalking agent, it should be adopted automatically.
## Kubernetes
In Kubernetes scenarios, you can also use this agent image as a sidecar.
Currently, SkyWalking provides two ways to install the java agent on your services on Kubernetes.
1. To use the java agent more natively, you can try the [java agent injector](https://github.com/apache/skywalking-swck/blob/master/docs/java-agent-injector.md) to inject the java agent image as a sidecar.
2. If you think it's hard to install the injector, you can also use this java agent image as a sidecar as below.
```yaml
apiVersion: v1
@ -53,4 +57,4 @@ spec:
env:
- name: JAVA_TOOL_OPTIONS
value: "-javaagent:/skywalking/agent/skywalking-agent.jar"
```
```