appdynamics-docker-images icon indicating copy to clipboard operation
appdynamics-docker-images copied to clipboard

Build repository for AppDynamics certified Docker Store images - Issue with appd-java-agent deploy/java-init.yaml

Open zhouyaoji opened this issue 5 years ago • 1 comments

Note: I am filing this on behalf of an AppD employee who filed an internal doc ticket. The doc team does not own or work on this repository.

Here is the description of the Jira issue the employee filed:

Build repository for AppDynamics certified Docker Store images - Issue with appd-java-agent deploy/java-init.yaml

The example initContainer fails since /opt/temp does not exist.

With reference to https://github.com/Appdynamics/appdynamics-docker-images/tree/master/appd-java-agent

An example is provided to show how the init container method works in deploy/java-init.yaml at https://github.com/Appdynamics/appdynamics-docker-images/blob/master/appd-java-agent/deploy/java-init.yaml

The example initContainer uses

initContainers:

name: appd-agent command: cp -ra /opt/temp/. /opt/appd/

To copy files from the image appdynamics/java-agent:v4.5 at /opt/temp to /opt/appd/

The image appdynamics/java-agent:v4.5 and later versions appdynamics/java-agent:20.3.0 place the unzipped Java Agent files in /opt/appdynamics.

The example initContainer fails since /opt/temp does not exist.

/ # # sh in to runnng image appdynamics/java-agent:20.3.0 / # pwd / / # ls /opt/appdynamics/ conf jackson-databind-2.10.3.jar.asc readme.txt.asc jackson-annotations-2.10.3.jar javaagent.jar uaruleanalyzer.jar jackson-annotations-2.10.3.jar.asc javaagent.jar.asc uaruleanalyzer.jar.asc jackson-core-2.10.3.jar licenses ver20.3.0.29587 jackson-core-2.10.3.jar.asc multi-release jackson-databind-2.10.3.jar readme.txt / #

zhouyaoji avatar Apr 16 '20 21:04 zhouyaoji

Thanks - David Ryder, originally filed this observation in Jira - David Ryder

APPDRYDER avatar Apr 16 '20 22:04 APPDRYDER