Closed calvinxu closed 1 year ago
the query server depends on the kelemetry storage plugin server. it can't start until it successfully connects to the storage plugin server, which is run in the host by running make
. it should be fixed as long as you start running the dev instance.
the query server depends on the kelemetry storage plugin server. it can't start until it successfully connects to the storage plugin server, which is run in the host by running
make
. it should be fixed as long as you start running the dev instance.
-- so base on the current setup for dev, how to work around it? or if I want to deploy using docker, does it support ?
make stack
is for developers who are developing Kelemetry and want to test the functionality of Kelemetry on a test server whilst running the Kelemetry binary in terminal foreground. It works normally as long as you run make
in your terminal.make quickstart
is for users who want to try out Kelemetry on a (kind) test cluster. This is the simplest setup, but it only works on a test cluster created in the script, not on a separate production cluster.
make stack
is for developers who are developing Kelemetry and want to test the functionality of Kelemetry on a test server whilst running the Kelemetry binary in terminal foreground. It works normally as long as you runmake
in your terminal.
run "make" and start kelemetry, any advice on below logs?
INFO[0254] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0254] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0256] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0258] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0260] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0260] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0264] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0264] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0265] pkg/mod/k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: failed to list *v1.ConfigMap: Get "https://127.0.0.1:6443/api/v1/namespaces/default/configmaps?fieldSelector=metadata.name%3Dkelemetry-filter-config&limit=500&resourceVersion=0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0265] pkg/mod/k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://127.0.0.1:6443/api/v1/namespaces/default/configmaps?fieldSelector=metadata.name%3Dkelemetry-filter-config&limit=500&resourceVersion=0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0268] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
INFO[0268] error retrieving resource lock default/kelemetry-diff-writer-leader-election-0: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/default/leases/kelemetry-diff-writer-leader-election-0": dial tcp 127.0.0.1:6443: connect: connection refused mod=kube
Did you make kind
before make stack
?
You may also need to export KUBECONFIG
to the kubeconfig for the new kind cluster (kind-tracetest).
run make and export KUBECONFIG, started and run normal, but it have the same issue to trace the audit-log
I can't reproduce this, and it is working correctly in the CI as well. Could you provide more detailed steps to reproduce this?
seems I mixed something up in the environment, just ignore my previous comments that mixed with "Audit log is not missed in the tracing data". Just a quick question, is the issue "Audit log is not missed in the tracing data https://github.com/kubewharf/kelemetry/issues/133, that is on Jaeger UI only can see event, no audit logs displayed in the logs list of each span" currently tracked by https://github.com/kubewharf/kelemetry/issues/127 and target to be fixed by this PR? thanks.
The debugged issue in #133 is tracked in #127, but there is currently no fix yet because I haven't debugged the cause yet. I am on vacation right now; will have a look next week.
Steps to reproduce
Expected behavior
docker container are up and running
Actual behavior
kelemetry-jaeger-query-1 keep restaring with logs
dev.docker-compose.yaml
Kelemetry version
0.2.2
Environment
k8s:1.24.15 Jaeger:1.4.2