You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/02/27 10:56:39 UTC

[skywalking-java] branch main updated: add java agent injector link (#112)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git


The following commit(s) were added to refs/heads/main by this push:
     new 74b130c  add java agent injector link (#112)
74b130c is described below

commit 74b130c8271a692a217e629f4126c1043b0204e3
Author: dashanji <71...@users.noreply.github.com>
AuthorDate: Sun Feb 27 18:56:33 2022 +0800

    add java agent injector link (#112)
---
 CHANGES.md                                                 | 1 +
 docs/en/setup/service-agent/java-agent/containerization.md | 8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index cfd9e99..870446c 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -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)
diff --git a/docs/en/setup/service-agent/java-agent/containerization.md b/docs/en/setup/service-agent/java-agent/containerization.md
index b067865..614cea6 100644
--- a/docs/en/setup/service-agent/java-agent/containerization.md
+++ b/docs/en/setup/service-agent/java-agent/containerization.md
@@ -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"
-```
+```
\ No newline at end of file