-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Description
I'm trying to use the flame with a JVM-based image running into an EKS cluster with Kubernetes version 1.15, but every time I try to run the profiling I got the error bellow
kubectl flame POD -f /tmp/flamegraph.svg -n NAMESPACE -l java --alpine CONTAINER
Verifying target pod ... ✔
Launching profiler ... ❌
pod failed
Looking into the failed POD logs I got the error bellow
{"type":"progress","data":{"time":"2020-12-11T01:43:28.02366121Z","stage":"started"}}
{"type":"error","data":{"reason":"exit status 255"}}
Also, I've attached the failed POD describe
Name: kubectl-flame-6a3fb104-aaf4-4f86-92a0-2c53c7f6601c-tqpft
Namespace: NAMESPACE
Priority: 0
Node: ip-172-20-124-211.ec2.internal/172.20.124.211
Start Time: Thu, 10 Dec 2020 22:43:26 -0300
Labels: controller-uid=9fcbed51-3f1c-42fb-af18-118e53b1a3cf
job-name=kubectl-flame-6a3fb104-aaf4-4f86-92a0-2c53c7f6601c
kubectl-flame/id=6a3fb104-aaf4-4f86-92a0-2c53c7f6601c
Annotations: kubernetes.io/psp: eks.privileged
sidecar.istio.io/inject: false
Status: Failed
IP: 172.20.126.116
IPs: <none>
Controlled By: Job/kubectl-flame-6a3fb104-aaf4-4f86-92a0-2c53c7f6601c
Containers:
kubectl-flame:
Container ID: docker://ee90601c752f38721ecd9c4d3ce8fd0bf5aaecadfbfa385c524d9514b35762e2
Image: verizondigital/kubectl-flame:v0.1.5-jvm
Image ID: docker-pullable://verizondigital/kubectl-flame@sha256:463c8ef5075c42644818c7646bc6e9371905a4253248a8f3be1c7acfa146c343
Port: <none>
Host Port: <none>
Command:
/app/agent
Args:
6a3fb104-aaf4-4f86-92a0-2c53c7f6601c
7f317a90-b1d9-4772-ae1e-ec429df6cdf1
CONTAINER
docker://6ab1c5da9dca6267bf24f82691d3464825dff639ec6b7d83d25af77716ff6e39
1m0s
java
State: Terminated
Reason: Error
Exit Code: 1
Started: Thu, 10 Dec 2020 22:43:28 -0300
Finished: Thu, 10 Dec 2020 22:43:28 -0300
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/var/lib/docker from target-filesystem (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-p67s5 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
target-filesystem:
Type: HostPath (bare host directory volume)
Path: /var/lib/docker
HostPathType:
default-token-p67s5:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-p67s5
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Pulling 4m52s kubelet Pulling image "verizondigital/kubectl-flame:v0.1.5-jvm"
Normal Pulled 4m52s kubelet Successfully pulled image "verizondigital/kubectl-flame:v0.1.5-jvm"
Normal Created 4m52s kubelet Created container kubectl-flame
Normal Started 4m51s kubelet Started container kubectl-flame
ntnrmr and fengchenghu
Metadata
Metadata
Assignees
Labels
No labels