Hi All,
I am getting this error when I try to kubectl my yml file:
[root@mx1605 ~]# kubectl create -f my-pod.yml
[root@mx1605 ~]# kubectl logs my-pod
Error opening zip file or JAR manifest missing : /javaagent.jar
Error occurred during initialization of VM
agent library failed to init: instrument
I have this in my yml file:
env:
-
name: APPD_ROOT
value: /opt/AppD/AppDynamicsAppAgent
volumeMounts:
-
mountPath: /opt/AppD/AppDynamicsAppAgent
name: appd-volume
volumes:
-
hostPath:
path: /opt/AppD/AppDynamicsAppAgent
name: appd-volume
If I run it directly via docker command it works:
docker run -itd --name my-pod \
-v /opt/AppD/AppDynamicsAppAgent:/opt/AppD/AppDynamicsAppAgent \
-e APPD_ROOT=/opt/AppD/AppDynamicsAppAgent \
my-pod:1
Any idea?
Thanks,
Homer
The information contained in this email message and any attachments is
confidential and intended only for the addressee(s). If you are not an
addressee, you may not copy or disclose the information, or act upon it, and
you should delete it entirely from your email system. Please notify the sender
that you received this email in error.
--
You received this message because you are subscribed to the Google Groups
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.