修改deploy脚本

This commit is contained in:
wulin 2023-12-04 20:38:54 +08:00
parent f8902862ae
commit 1b076439cc

View File

@ -28,7 +28,11 @@ spec:
- name: skywalking-agent
mountPath: /agent
command: [ "/bin/sh" ]
args: [ "-c", "cp -R /skywalking/agent /agent/ \\cp /skywalking/agent/optional-plugins/apm-nacos-client-2.x-plugin-9.0.0.jar /skywalking/agent/plugins\\cp /skywalking/agent/optional-plugins/apm-spring-cloud-gateway-3.x-plugin-9.0.0.jar /skywalking/agent/plugins\\cp /skywalking/agent/optional-plugins/apm-spring-webflux-5.x-plugin-9.0.0.jar /skywalking/agent/plugins\\cp /skywalking/agent/optional-plugins/apm-spring-webflux-5.x-plugin-9.0.0.jar /skywalking/agent/plugins" ]
args: [ "-c", "cp -R /skywalking/agent /agent/
cp /skywalking/agent/optional-plugins/apm-nacos-client-2.x-plugin-9.0.0.jar /skywalking/agent/plugins
cp /skywalking/agent/optional-plugins/apm-spring-cloud-gateway-3.x-plugin-9.0.0.jar /skywalking/agent/plugins
cp /skywalking/agent/optional-plugins/apm-spring-webflux-5.x-plugin-9.0.0.jar /skywalking/agent/plugins
cp /skywalking/agent/optional-plugins/apm-spring-webflux-5.x-plugin-9.0.0.jar /skywalking/agent/plugins" ]
imagePullSecrets:
- name: aliyun-hub-register #提前在项目下配置访问阿里云的账号密码
containers: