riverwoo opened a new issue, #4967: URL: https://github.com/apache/shenyu/issues/4967
### Question In Kubernetes, the Shenyu gateway is configured using the Java proxy method, but the shenyuan-bootstrap configuration skywalking cannot obtain data. The shenyu plugin has been enabled. Now, I can only see the tracking of the shenyuan-admin connection database. Neither shenyuan-admin and shenyuan-bootstrap logs cannot generate traceid automatically. Have I missed other configurations ``` [root@k8s-dev-master ~]# kubectl exec -it -n shenyu shenyu-bootstrap-6884b748bb-p8fct sh /opt/shenyu-bootstrap # ls -l total 140 -rw-r--r-- 1 501 dialout 49066 Feb 16 14:46 LICENSE -rw-r--r-- 1 501 dialout 26035 Feb 16 14:46 NOTICE -rw-r--r-- 1 501 dialout 1356 Sep 1 2022 README.txt drwxr-xr-x 1 root root 4096 Aug 4 05:34 agent drwxr-xr-x 2 root root 4096 Mar 5 10:43 bin drwxr-xr-x 1 root root 4096 Mar 5 10:43 conf -rwxr-xr-x 1 root root 1798 Jul 31 03:10 entrypoint.sh drwxr-xr-x 2 501 dialout 4096 Mar 5 10:25 ext-lib drwxr-xr-x 2 root root 32768 Mar 5 10:43 lib drwxr-xr-x 2 501 dialout 4096 Feb 16 14:46 licenses /opt/shenyu-bootstrap # ls -l agent/ total 21104 -rw-r--r-- 1 root root 12911 Jul 31 03:02 LICENSE -rw-r--r-- 1 root root 10003 Jul 31 03:02 NOTICE drwxr-xr-x 2 root root 4096 Jul 31 03:04 activations drwxr-xr-x 2 root root 4096 Jul 31 03:04 bootstrap-plugins drwxr-xr-x 2 root root 4096 Jul 31 03:04 config drwxr-xr-x 2 root root 4096 Jul 31 03:04 licenses drwxr-xr-x 1 root root 4096 Aug 4 05:41 logs drwxr-xr-x 2 root root 4096 Jul 31 03:04 optional-plugins drwxr-xr-x 2 root root 4096 Jul 31 03:04 optional-reporter-plugins drwxr-xr-x 2 root root 12288 Aug 4 05:34 plugins -rw-r--r-- 1 root root 21538833 Jul 31 03:02 skywalking-agent.jar /opt/shenyu-bootstrap # ls -l agent/plugins/apm-shenyu-2.4.x-plugin-8.16.0.jar -rw-r--r-- 1 root root 44669 Aug 4 05:32 agent/plugins/apm-shenyu-2.4.x-plugin-8.16.0.jar /opt/shenyu-bootstrap # /opt/shenyu-bootstrap # ps -ef | grep java root 1 0 0 Aug04 ? 00:38:39 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java -server -Xmx2g -Xms2g -Xmn1g -Xss512k -XX:+DisableExplicitGC -XX:LargePageSizeInBytes=128m -javaagent:/opt/shenyu-bootstrap/agent/skywalking-agent.jar -Dskywalking.agent.service_name=shenyu-gateway -Dskywalking.collector.backend_service=skywalking-oap.skywalking.svc:11800 -XX:+UseFastAccessorMethods -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -classpath .:/opt/shenyu-bootstrap/conf:/opt/shenyu-bootstrap/lib/*:/opt/shenyu-bootstrap/ext-lib/* org.apache.shenyu.bootstrap.ShenyuBootstrapApplication ``` ``` [root@k8s-dev-master ~]# kubectl exec -it -n shenyu shenyu-admin-5cfd7777d7-7nf8h sh /opt/shenyu-admin # ls -l total 100 -rw-r--r-- 1 501 dialout 35825 Feb 16 14:46 LICENSE -rw-r--r-- 1 501 dialout 18207 Feb 16 14:46 NOTICE -rw-r--r-- 1 501 dialout 1356 Sep 1 2022 README.txt drwxr-xr-x 1 root root 4096 Aug 4 05:35 agent drwxr-xr-x 2 root root 4096 Mar 5 10:30 bin drwxr-xr-x 1 root root 4096 Mar 5 10:30 conf -rwxr-xr-x 1 root root 1779 Jul 31 02:45 entrypoint.sh drwxrwxrwx 2 root root 4096 Aug 4 05:39 ext-lib drwxr-xr-x 2 root root 12288 Mar 5 10:30 lib drwxr-xr-x 3 501 dialout 4096 Feb 16 14:46 licenses /opt/shenyu-admin # ls -l agent/ total 21104 -rw-r--r-- 1 root root 12911 Jul 28 07:58 LICENSE -rw-r--r-- 1 root root 10003 Jul 28 07:58 NOTICE drwxr-xr-x 2 root root 4096 Jul 31 02:56 activations drwxr-xr-x 2 root root 4096 Jul 31 02:56 bootstrap-plugins drwxr-xr-x 2 root root 4096 Jul 31 02:56 config drwxr-xr-x 2 root root 4096 Jul 31 02:56 licenses drwxr-xr-x 1 root root 4096 Aug 4 05:39 logs drwxr-xr-x 2 root root 4096 Jul 31 02:56 optional-plugins drwxr-xr-x 2 root root 4096 Jul 31 02:56 optional-reporter-plugins drwxr-xr-x 2 root root 12288 Aug 4 05:35 plugins -rw-r--r-- 1 root root 21538833 Jul 28 07:58 skywalking-agent.jar /opt/shenyu-admin # ls -l agent/plugins/apm-shenyu-2.4.x-plugin-8.16.0.jar -rw-r--r-- 1 root root 44669 Aug 4 05:32 agent/plugins/apm-shenyu-2.4.x-plugin-8.16.0.jar /opt/shenyu-admin # ps -ef | grep java root 1 0 0 Aug04 ? 00:23:14 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java -server -Xmx2g -Xms2g -Xmn1g -Xss256k -XX:+DisableExplicitGC -XX:LargePageSizeInBytes=128m -javaagent:/opt/shenyu-admin/agent/skywalking-agent.jar -Dskywalking.agent.service_name=shenyu-admin -Dskywalking.collector.backend_service=skywalking-oap.skywalking.svc:11800 -XX:+UseFastAccessorMethods -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -classpath .:/opt/shenyu-admin/conf:/opt/shenyu-admin/lib/*:/opt/shenyu-admin/ext-lib/* org.apache.shenyu.admin.ShenyuAdminBootstrap root 4365 4320 0 03:20 pts/0 00:00:00 grep java /opt/shenyu-admin # ```   -- 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]
