dashanji commented on a change in pull request #33:
URL: https://github.com/apache/skywalking-swck/pull/33#discussion_r718619552



##########
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:
       OK , I hava a small question there, the webhook only support 
namespaceSelector or objectSelector . If either namespace or pod label can 
active the injector, we need to get every pod's label or the namespace's label 
in the webhook, the load of the webhook may increase a lot.




-- 
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


Reply via email to