kezhenxu94 commented on a change in pull request #33: URL: https://github.com/apache/skywalking-swck/pull/33#discussion_r718513471
########## File path: docs/examples/java-agent-injector-usage.md ########## @@ -0,0 +1,255 @@ +# Java agent injector Usage + +In this example , you will learn how to use the java agent injector in three ways. + +## Install injector + +The java agent injector is builded in the operator , so you need to follow [Operator installation instrument](../../README.md#operator) to install the operator firstly. + +## Use default configuration + +At first , set the injection label in your namespace as below. + +```shell +kubectl label namespace default(your namespace) swck-injection=enabled +``` + +Then add `swck-java-agent-injected: "true"` in the labels of yaml file as below. Review comment: Yes if that's the case we might want to keep only one annotation name, which can be applied in namespace level or Pod level, instead of 2 different annotation name -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org