Hi All,
I installed the kasten by helm chart on my k8s cluster but im facing the below error:
$ kubectl get pods --namespace kasten-io
NAME READY STATUS RESTARTS AGE
aggregatedapis-svc-698fc8cc7-xzjkc 0/1 CrashLoopBackOff 5 (2m44s ago) 21m
auth-svc-7c6d5dfb99-m2wh8 0/1 CrashLoopBackOff 6 (114s ago) 21m
catalog-svc-cdd4b4875-277lj 2/2 Running 0 21m
config-svc-7c7587c989-brj2p 0/1 CrashLoopBackOff 5 (27s ago) 21m
crypto-svc-fc5fb685d-ggk6d 3/3 Running 0 21m
dashboardbff-svc-64b677dbdf-xtlfd 0/1 Running 3 21m
executor-svc-8645d48645-8c8xn 2/2 Running 0 21m
executor-svc-8645d48645-97xtm 2/2 Running 0 21m
executor-svc-8645d48645-pkcr7 2/2 Running 0 21m
frontend-svc-5bc88d576f-dd66f 1/1 Running 0 21m
gateway-74d6f8cc4f-jh9w9 0/1 CrashLoopBackOff 9 (30s ago) 21m
jobs-svc-6854494bc-7kdkz 1/1 Running 0 21m
k10-grafana-6dbc8d7b65-4wfnq 1/1 Running 0 21m
kanister-svc-6d54d97f75-78v5c 0/1 CrashLoopBackOff 6 (2m10s ago) 21m
logging-svc-bffd6dd6-qtq5n 1/1 Running 0 21m
metering-svc-75ff77488-4xfkq 0/1 CrashLoopBackOff 5 (2m6s ago) 21m
prometheus-server-5f8795dd55-f6xms 2/2 Running 0 21m
state-svc-8849656c6-dfr8j 2/2 Running 0 21m
----------------------------------------------------------------------------------------------------------------------
$ kubectl -n kasten-io logs kanister-svc-6d54d97f75-78v5c
{"File":"pkg/kancontroller/kancontroller.go","Function":"github.com/kanisterio/kanister/pkg/kancontroller.Execute","Line":45,"hostname":"kanister-svc-6d54d97f75-78v5c","level":"info","msg":"Getting kubernetes context","time":"2022-03-10T07:45:45.620685745Z","version":"4.5.10"}
Log message dropped (buffer): {"File":"pkg/kancontroller/kancontroller.go","Function":"github.com/kanisterio/kanister/pkg/kancontroller.Execute","Level":"info","Line":45,"Message":"Getting kubernetes context","Time":"2022-03-10T07:45:45.620685745Z","hostname":"kanister-svc-6d54d97f75-78v5c","version":"4.5.10"}
Error: Fluentbit connection error: Fluentbit connection problem: dial tcp 10.106.74.54:24224: i/o timeout
{"File":"controller/main.go","Function":"main.main","Line":8,"error":"Error getting server version: Get \"https://10.96.0.1:443/version\": dial tcp 10.96.0.1:443: i/o timeout","hostname":"kanister-svc-6d54d97f75-78v5c","level":"info","msg":"Failed to create CustomResources.","time":"2022-03-10T07:46:15.624518644Z","version":"4.5.10"}
{"File":"runtime/asm_amd64.s","Function":"runtime.goexit","Line":1581,"error":"http: Server closed","hostname":"kanister-svc-6d54d97f75-78v5c","level":"info","msg":"Failed to start health check server","time":"2022-03-10T07:46:15.625117855Z","version":"4.5.10"}
------------------------------------------------------------------------------------------------------------------
$ kubectl -n kasten-io logs gateway-74d6f8cc4f-jh9w9
2022-03-10 07:46:50 kubewatch "10 TMainThread] 1.14.1-dev.13087+g1be09b89d DEBUG: looking up ID for namespace kasten-io
------------------------------------------------------------------------------------------------------------------
$ kubectl -n kasten-io logs auth-svc-7c6d5dfb99-m2wh8
{"File":"kasten.io/k10/kio/tracing/tracing.go","Function":"kasten.io/k10/kio/tracing.StartProfileBuffers","Line":109,"hostname":"auth-svc-7c6d5dfb99-m2wh8","level":"info","msg":"no profile buffers configured","time":"20220310-07:46:01.565Z","version":"4.5.10"}
Log message dropped (buffer): {"File":"kasten.io/k10/kio/tracing/tracing.go","Function":"kasten.io/k10/kio/tracing.StartProfileBuffers","Level":"info","Line":109,"Message":"no profile buffers configured","Time":"2022-03-10T07:46:01.56570144Z","hostname":"auth-svc-7c6d5dfb99-m2wh8","version":"4.5.10"}
Error: {"message":"Fluentbit connection error","function":"kasten.io/k10/kio/log/hooks/fluentbit.(*Hook).handle","linenumber":98,"file":"kasten.io/k10/kio/log/hooks/fluentbit/fluentbit.go:98","cause":{"message":"Fluentbit connection problem","function":"kasten.io/k10/kio/log/hooks/fluentbit.(*Hook).dial","linenumber":89,"file":"kasten.io/k10/kio/log/hooks/fluentbit/fluentbit.go:89","cause":{"Op":"dial","Net":"tcp","Source":null,"Addr":{"IP":"10.106.74.54","Port":24224,"Zone":""},"Err":{}}}}
{"File":"kasten.io/k10/kio/assert/assert.go","Function":"kasten.io/k10/kio/assert.NoError","Line":16,"error":"Get \"https://10.96.0.1:443/api?timeout=32s\": dial tcp 10.96.0.1:443: i/o timeout","hostname":"auth-svc-7c6d5dfb99-m2wh8","level":"panic","msg":"Failed to initialize auth handler","time":"20220310-07:46:31.636Z","version":"4.5.10"}
panic: (*logrus.Entry) 0xc00023e310
goroutine 1 krunning]:
github.com/sirupsen/logrus.(*Entry).log(0xc001756350, 0x0, {0xc001754060, 0x21})
/root/go/pkg/mod/github.com/sirupsen/logrus@v1.8.1/entry.go:259 +0x24f
github.com/sirupsen/logrus.(*Entry).Log(0xc00023e2a0, 0x0, {0xc001756350, 0x22, 0x10})
/root/go/pkg/mod/github.com/sirupsen/logrus@v1.8.1/entry.go:293 +0x4f
github.com/sirupsen/logrus.(*Entry).Panic(0x27682f0, {0xc001756350, 0xc00060dd00, 0xc00060dd10})
/root/go/pkg/mod/github.com/sirupsen/logrus@v1.8.1/entry.go:331 +0x29
kasten.io/k10/kio/log.loggerAdapter.Panic({{0x27682f0, 0xc00023e230}}, {0xc001756350, 0x1, 0x1})
/codefresh/volume/k10/go/src/kasten.io/k10/kio/log/log.go:304 +0x4d
kasten.io/k10/kio/assert.NoError({0x26ca240, 0xc00146a120}, {0xc001756350, 0x1, 0x1})
/codefresh/volume/k10/go/src/kasten.io/k10/kio/assert/assert.go:16 +0x57
kasten.io/k10/rest/srv/authserver.authHTTPHandler({0x26cbea0, 0xc001935640})
/codefresh/volume/k10/go/src/kasten.io/k10/rest/srv/authserver/kio_auth_handler.go:269 +0xe6
kasten.io/k10/rest/srv/authserver.setupGlobalMiddleware({0x26cbea0, 0xc001935640})
/codefresh/volume/k10/go/src/kasten.io/k10/rest/srv/authserver/configure_auth.go:75 +0x25
kasten.io/k10/rest/srv/authserver.configureAPI(0xc0013e8580)
/codefresh/volume/k10/go/src/kasten.io/k10/rest/srv/authserver/configure_auth.go:51 +0x20a
kasten.io/k10/rest/srv/authserver.(*Server).ConfigureAPI(...)
/codefresh/volume/k10/go/src/kasten.io/k10/rest/srv/authserver/server.go:58
main.main()
/codefresh/volume/k10/go/src/kasten.io/k10/cmd/rest/auth-server/main.go:50 +0x2b6
$ kubectl -n kasten-io logs aggregatedapis-svc-698fc8cc7-xzjkc
I0310 07:49:04.744919 1 serving.go:342] Generated self-signed cert (/tmp/apiserver.local.config/certificates/apiserver.crt, /tmp/apiserver.local.config/certificates/apiserver.key)
BR,