Closed yaoyao12138 closed 3 years ago
After cleaned up all db and instana data, then re-start db service and instana, this question still exist.
All pods in the ns instana-core
and instana-units
have many java exceptions.
Try to use k3s instead of kind to launch instana.
Use k3s to launch instana and db clusters, when logged in, the UI crashed.
root@yao-instana-vm-64-instana-k8s-env:~# k3s kubectl get po
...
instana-core groundskeeper-8646b55c49-5ttht 1/1 Running 0 3m52s
instana-units tu-instana-prod-ui-backend-85cccd9949-qfstt 1/1 Running 0 3m24s
instana-units ui-client-5f6bd97747-8svbd 1/1 Running 0 3m5s
instana-units tu-instana-prod-appdata-processor-b6dcc9997-vvqlp 0/1 Pending 0 89s
root@yao-instana-vm-64-instana-k8s-env:~# k3s kubectl describe po tu-instana-prod-appdata-processor-b6dcc9997-vvqlp -n instana-units
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 86s default-scheduler 0/1 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity rules, 1 node(s) didn't match pod anti-affinity rules.
Warning FailedScheduling 84s default-scheduler 0/1 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity rules, 1 node(s) didn't match pod anti-affinity rules.
In the ui-client pod, the log is the same as which in the kind env.
kubectl logs ui-client-5f6bd97747-8svbd -n instana-units
...
{"name":"@instana/collector","__in":1,"hostname":"ui-client-5f6bd97747-8svbd","pid":1,"module":"announceCycle/agentHostLookup","level":40,"msg":"Agent cannot be contacted via 127.0.0.1:42699 and default gateway cannot be determined. Scheduling reattempt of agent host lookup in 60000 millis.","time":"2021-10-29T02:34:55.484Z","v":0}
And other pod don't have exceptions still.
root@yao-instana-vm-64-instana-k8s-env:~# k3s kubectl get po -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system local-path-provisioner-5ff76fc89d-xl4dm 1/1 Running 0 17h
kube-system metrics-server-86cbb8457f-w48sb 1/1 Running 0 17h
kube-system coredns-7448499f4d-6knqb 1/1 Running 0 17h
default ambassador-agent-69bdc547bd-bhztf 1/1 Running 0 17h
default svclb-ambassador-5bpvt 2/2 Running 0 17h
default nfs-subdir-external-provisioner-7569bc74dc-npwtm 1/1 Running 0 17h
default ambassador-6677db9456-5jlvk 1/1 Running 0 17h
default ambassador-6677db9456-7vn7b 1/1 Running 0 17h
default ambassador-6677db9456-npk47 1/1 Running 0 17h
instana-operator instana-selfhosted-operator-5b578876b-tglpr 1/1 Running 0 17h
instana-core butler-6d7456f54-l8hmt 1/1 Running 0 17h
instana-core accountant-86498cb68-vwsjx 1/1 Running 0 17h
instana-core cashier-ingest-76684948bd-947nn 1/1 Running 0 17h
instana-core cashier-rollup-7c4ccc85d7-qxl7j 1/1 Running 0 17h
instana-core acceptor-79d566d599-5psh7 1/1 Running 0 17h
instana-core eum-acceptor-6fc55df694-mz45d 1/1 Running 0 17h
instana-core eum-processor-7c878ccdb7-6zz7r 1/1 Running 0 17h
instana-core eum-health-processor-6f8b59bff8-6l8v4 1/1 Running 0 17h
instana-core appdata-health-processor-67dd86ff-v9vg6 1/1 Running 0 17h
instana-core sli-evaluator-78c6bb86-lsbmw 1/1 Running 0 17h
instana-core js-stack-trace-translator-5dfbc485c9-b6j88 1/1 Running 0 17h
instana-core appdata-writer-7447f869c4-mchc6 1/1 Running 0 17h
instana-core appdata-reader-77b667d9f-nxswn 1/1 Running 0 17h
instana-core serverless-acceptor-6db875466b-bcj6b 1/1 Running 0 17h
instana-core ingress-core-7c767b65-zg8rt 1/1 Running 0 17h
instana-units ingress-65d9589c5-r2768 1/1 Running 0 17h
instana-units tu-instana-prod-appdata-legacy-converter-87d764f9c-jzhzm 1/1 Running 0 17h
instana-units tu-instana-prod-filler-58b4fcc655-lsrxc 1/1 Running 0 17h
instana-units tu-instana-prod-processor-cfd5ffc5d-mgtkf 1/1 Running 0 17h
instana-units tu-instana-prod-issue-tracker-597cfb9db7-qjdgd 1/1 Running 0 17h
instana-core groundskeeper-8646b55c49-5ttht 1/1 Running 0 17h
instana-units tu-instana-prod-ui-backend-85cccd9949-qfstt 1/1 Running 0 17h
instana-units ui-client-5f6bd97747-8svbd 1/1 Running 0 17h
instana-units tu-instana-prod-appdata-processor-b6dcc9997-vvqlp 0/1 Pending 0 17h
k3s couldn't be used for test 207 but 209.
So 207 only could be tested on kind.
On kind cluster, all instana pods are ruuning and start the agent, but there is no data from agent in instana UI.
There is a lot of exceptions in
acceptor pod
.