You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During a testing call we noticed that we're not able to start a CP when k8s API is down:
2024-01-23T10:04:24.439Z ERROR kuma-cp.run unable to set up Control Plane runtime {"error": "failed to run beforeBootstrap plugin:'k8s': could not add index of Secret cache by field 'type': failed to get restmapping: failed to get server groups: Get \"https://10.76.0.1:443/api\": dial tcp 10.76.0.1:443: i/o timeout", "errorVerbose": "failed to get restmapping: failed to get server groups: Get \"https://10.76.0.1:443/api\": dial tcp 10.76.0.1:443: i/o timeout\ncould not add index of Secret cache by field 'type'\ngithub.com/kumahq/kuma/pkg/plugins/bootstrap/k8s.createSecretClient\n\tgithub.com/kumahq/[email protected]/pkg/plugins/bootstrap/k8s/plugin.go:135\ngithub.com/kumahq/kuma/pkg/plugins/bootstrap/k8s.(*plugin).BeforeBootstrap\n\tgithub.com/kumahq/[email protected]/pkg/plugins/bootstrap/k8s/plugin.go:88\ngithub.com/kumahq/kuma/pkg/core/bootstrap.buildRuntime\n\tgithub.com/kumahq/[email protected]/pkg/core/bootstrap/bootstrap.go:79\ngithub.com/kumahq/kuma/pkg/core/bootstrap.Bootstrap\n\tgithub.com/kumahq/[email protected]/pkg/core/bootstrap/bootstrap.go:232\ngithub.com/kumahq/kuma/app/kuma-cp/cmd.newRunCmdWithOpts.func1\n\tgithub.com/kumahq/[email protected]/app/kuma-cp/cmd/run.go:65\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:1039\nmain.main\n\tgithub.com/kumahq/kuma/app/kuma-cp/main.go:42\nruntime.main\n\truntime/proc.go:267\nruntime.goexit\n\truntime/asm_amd64.s:1650\nfailed to run beforeBootstrap plugin:'k8s'\ngithub.com/kumahq/kuma/pkg/core/bootstrap.buildRuntime\n\tgithub.com/kumahq/[email protected]/pkg/core/bootstrap/bootstrap.go:80\ngithub.com/kumahq/kuma/pkg/core/bootstrap.Bootstrap\n\tgithub.com/kumahq/[email protected]/pkg/core/bootstrap/bootstrap.go:232\ngithub.com/kumahq/kuma/app/kuma-cp/cmd.newRunCmdWithOpts.func1\n\tgithub.com/kumahq/[email protected]/app/kuma-cp/cmd/run.go:65\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:1039\nmain.main\n\tgithub.com/kumahq/kuma/app/kuma-cp/main.go:42\nruntime.main\n\truntime/proc.go:267\nruntime.goexit\n\truntime/asm_amd64.s:1650"}
Error: failed to run beforeBootstrap plugin:'k8s': could not add index of Secret cache by field 'type': failed to get restmapping: failed to get server groups: Get "https://10.76.0.1:443/api": dial tcp 10.76.0.1:443: i/o timeout
This could be worked around.
The text was updated successfully, but these errors were encountered:
What happened?
During a testing call we noticed that we're not able to start a CP when k8s API is down:
This could be worked around.
The text was updated successfully, but these errors were encountered: