hanahmily commented on a change in pull request #33:
URL: https://github.com/apache/skywalking-swck/pull/33#discussion_r718511514
##########
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:
if we have multi-language pods in a namespace, the pod granularity is
enough.
The namespace label is "configuration sugar" instead of a constraint. Thanks
for your mentioning, the label name attached to a namespace should be
`swck-java-injection`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]