Solved

k3s v1.25.7+k3s1 k10s 6.05 gateway pod unable to watch unknown kind


Userlevel 3

HI,

 

I have installed k10s 6.0.5 (free) with helm on my K3s v1.25.7+k3s1 k10s and all pods are running:

NAME                                                                READY   STATUS    RESTARTS   AGE
aggregatedapis-svc-7fc774b7cb-rdtdt               1/1          Running            0            3d
metering-svc-5b6567d589-dx84g                      1/1          Running            0          3d
dashboardbff-svc-7c76b85686-h5vjp                2/2          Running            0          3d
crypto-svc-5b97cc49bd-5lwvp                           4/4          Running            0          3d
controllermanager-svc-9948b6cd7-dkwpn         1/1         Running            0          3d
executor-svc-5d69fc59f9-r6lp5                          2/2         Running             0          3d
logging-svc-8f8dc78ff-9hxdk                             1/1          Running            0          3d
frontend-svc-56dd4fb8d6-fvqc8                        1/1          Running            0          3d
auth-svc-55b5c5c9dc-z2gsw                            1/1          Running            0          3d
state-svc-67488f6b-hwn6x                               2/2          Running            0          3d
kanister-svc-87dbc45f5-pzr4w                         1/1          Running            0          3d
catalog-svc-6f5cbfd8bd-xfc54                          2/2          Running             0          3d
jobs-svc-84b8475d88-64xrj                             1/1          Running              0          3d
gateway-6554c89f6-vxq94                              1/1          Running             0          21m
 

I cant access the website k10 and if I look the logs of the gateway pod I see that it cant find severales kind:

time="2023-08-21 10:39:31.9231" level=info msg="Started Ambassador (Version 3.5.0-dev.0.20230802031949-5128521c13df-dirty.1690961272)" func=github.com/emissary-ingress/emissary/v3/cmd/entrypoint.Main file="/go/cmd/entrypoint/entrypoint.go:96" CMD=entrypoint PID=1
time="2023-08-21 10:39:31.9689" level=info msg="AMBASSADOR_CLUSTER_ID=b708b74a-8699-5c3e-abb6-58d61c57d229" func=github.com/emissary-ingress/emissary/v3/cmd/entrypoint.Main file="/go/cmd/entrypoint/entrypoint.go:110" CMD=entrypoint PID=1
time="2023-08-21 10:39:31.9727" level=info msg="started command [\"diagd\" \"/ambassador/snapshots\" \"/ambassador/bootstrap-ads.json\" \"/ambassador/envoy/envoy.json\" \"--notices\" \"/ambassador/notices.json\" \"--port\" \"8004\" \"--kick\" \"kill -HUP 1\"]" func="github.com/datawire/dlib/dexec.(*Cmd).Start" file="/go/vendor/github.com/datawire/dlib/dexec/cmd.go:183" CMD=entrypoint PID=1 THREAD=/diagd dexec.pid=15
time="2023-08-21 10:39:31.9728" level=info msg="not logging input read from file \"/dev/stdin\"" func="github.com/datawire/dlib/dexec.(*Cmd).Start" file="/go/vendor/github.com/datawire/dlib/dexec/cmd.go:185" CMD=entrypoint PID=1 THREAD=/diagd dexec.pid=15 dexec.stream=stdin
time="2023-08-21 10:39:31.9728" level=info msg="not logging output written to file \"/dev/stdout\"" func="github.com/datawire/dlib/dexec.(*Cmd).Start" file="/go/vendor/github.com/datawire/dlib/dexec/cmd.go:188" CMD=entrypoint PID=1 THREAD=/diagd dexec.pid=15 dexec.stream=stdout
time="2023-08-21 10:39:31.9728" level=info msg="not logging output written to file \"/dev/stderr\"" func="github.com/datawire/dlib/dexec.(*Cmd).Start" file="/go/vendor/github.com/datawire/dlib/dexec/cmd.go:191" CMD=entrypoint PID=1 THREAD=/diagd dexec.pid=15 dexec.stream=stderr
time="2023-08-21 10:39:31.9728" level=info msg="Ambex 3.5.0-dev.0.20230802031949-5128521c13df-dirty.1690961272 starting, snapdirPath /ambassador/snapshots" func=github.com/emissary-ingress/emissary/v3/pkg/ambex.Main file="/go/pkg/ambex/main.go:646" CMD=entrypoint PID=1 THREAD=/ambex
time="2023-08-21 10:39:31.9808" level=info msg="Wrote PID" func=github.com/emissary-ingress/emissary/v3/pkg/ambex.Main file="/go/pkg/ambex/main.go:690" CMD=entrypoint PID=1 THREAD=/ambex fields.file=ambex.pid file="/go/pkg/ambex/main.go:690" pid=1
time="2023-08-21 10:39:31.9816" level=info msg="AMBASSADOR_RECONFIG_MAX_DELAY set to 1" func=github.com/emissary-ingress/emissary/v3/cmd/entrypoint.WatchAllTheThings file="/go/cmd/entrypoint/watcher.go:47" CMD=entrypoint PID=1 THREAD=/watcher
time="2023-08-21 10:39:31.9856" level=info msg="Saved snapshot v0" func=github.com/emissary-ingress/emissary/v3/pkg/ambex.csDump file="/go/pkg/ambex/main.go:349" CMD=entrypoint PID=1 THREAD=/ambex/main-loop
time="2023-08-21 10:39:31.9857" level=warning msg="Warning, unable to watch tlscontexts.v3alpha1.getambassador.io, unknown kind." func=github.com/emissary-ingress/emissary/v3/cmd/entrypoint.GetInterestingTypes file="/go/cmd/entrypoint/interesting_types.go:160" CMD=entrypoint PID=1 THREAD=/watcher
time="2023-08-21 10:39:31.9860" level=warning msg="Warning, unable to watch authservices.v3alpha1.getambassador.io, unknown kind." func=github.com/emissary-ingress/emissary/v3/cmd/entrypoint.GetInterestingTypes file="/go/cmd/entrypoint/interesting_types.go:160" CMD=entrypoint PID=1 THREAD=/watcher
time="2023-08-21 10:39:31.9862" level=warning msg="Warning, unable to watch kubernetesendpointresolvers.v3alpha1.getambassador.io, unknown kind." func=github.com/emissary-ingress/emissary/v3/cmd/entrypoint.GetInterestingTypes file="/go/cmd/entrypoint/interesting_types.go:160" CMD=entrypoint PID=1 THREAD=/watcher
time="2023-08-21 10:39:31.9863" level=warning msg="Warning, unable to watch ratelimitservices.v3alpha1.getambassador.io, unknown kind." func=github.com/emissary-ingress/emissary/v3/cmd/entrypoint.GetInterestingTypes file="/go/cmd/entrypoint/interesting_types.go:160" CMD=entrypoint PID=1 THREAD=/watcher
time="2023-08-21 10:39:31.9862" level=info msg="Pushing snapshot v0" func=github.com/emissary-ingress/emissary/v3/pkg/ambex.updaterWithTicker file="/go/pkg/ambex/ratelimit.go:159" CMD=entrypoint PID=1 THREAD=/ambex/updater
time="2023-08-21 10:39:31.9863" level=warning msg="Warning, unable to watch gatewayclasses.v1alpha1.networking.x-k8s.io, unknown kind." func=github.com/emissary-ingress/emissary/v3/cmd/entrypoint.GetInterestingTypes …..

 

Can you help me please ?

Best regards.

icon

Best answer by FRubens 22 August 2023, 11:55

View original

3 comments

Userlevel 4
Badge +2

Hello @reynald14,

Thank you for using our K10 community !

First I would please ask you to try accessing using port forward to make sure the K10 dashboard is accessible.

https://docs.kasten.io/latest/access/dashboard.html#access-via-kubectl

If you are trying to access using ingress, check if it has the right setup, maybe you can try re-creating the ingress service and retry, to make sure nothing is missing.

https://docs.kasten.io/latest/access/dashboard.html?highlight=ingress#existing-ingress-controller

Also you can try using a Load Balancer: https://docs.kasten.io/latest/access/dashboard.html?highlight=ingress#existing-ingress-controller

Hope it helps

Rubens

Userlevel 3

HI Rubens,

 

this topic is a duplicate of 

can you close this one please?

Best regards.

Userlevel 4
Badge +2

Hello @reynald14 ,

Thanks for the information.

Understand, please you must select an answer in this post, and it will be changed to solved.

Rubens

Comment