unable to start manager || ngrok ingress kubernetes #329
Closed
faizank789
started this conversation in
General
Replies: 1 comment
-
Hi! I've responded to the issue on this problem, going to close this discussion to consolidate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI team,
facing issue can anybody assist for same. pods are getting crash , i have used same steps as mentioned ,during installation using helm chart.
kubectl describe
ngrok-ingress-controller ngrok-ingress-controller-kubernetes-ingress-controller-man6n94k 0/1 Running 8 (4m56s ago) 20m
ngrok-ingress-controller ngrok-ingress-controller-kubernetes-ingress-controller-man6n94k 0/1 Error 8 (5m26s ago) 20m
ngrok-ingress-controller ngrok-ingress-controller-kubernetes-ingress-controller-man6n94k 0/1 CrashLoopBackOff 8 ( ago) 21m
kubectl logs
k logs --all-containers ngrok-ingress-controller-kubernetes-ingress-controller-man6n94k -f Tuesday 02 January 2024 01:02:07 PM
{"level":"info","ts":"2023-12-21T09:33:57Z","logger":"setup","msg":"starting manager","version":"0.10.1","commit":"1cf33f17961038010f0011663c7bf17d997e1108"}
{"level":"error","ts":"2023-12-21T09:34:27Z","msg":"Failed to get API Group-Resources","error":"Get "https://10.96.0.1:443/api?timeout=32s\": dial tcp 10.96.0.1:443: i/o timeout","stacktrace":"sigs.k8s.io/controller-runtime/pkg/cluster.New\n\tsigs.k8s.io/[email protected]/pkg/cluster/cluster.go:161\nsigs.k8s.io/controller-runtime/pkg/manager.New\n\tsigs.k8s.io/[email protected]/pkg/manager/manager.go:351\nmain.runController\n\t./main.go:164\nmain.cmd.func1\n\t./main.go:98\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:916\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1044\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:968\nmain.main\n\t./main.go:68\nruntime.main\n\truntime/proc.go:250"}
Error: unable to start manager: Get "https://10.96.0.1:443/api?timeout=32s": dial tcp 10.96.0.1:443: i/o timeout
Usage:
manager [flags]
Flags:
--controller-name string The name of the controller to use for matching ingresses classes (default "k8s.ngrok.com/ingress-controller")
--election-id string The name of the configmap that is used for holding the leader lock (default "ngrok-ingress-controller-leader")
--health-probe-bind-address string The address the probe endpoint binds to. (default ":8081")
-h, --help help for manager
--manager-name string Manager name to identify unique ngrok ingress controller instances (default "ngrok-ingress-controller-manager")
--metadata string A comma separated list of key value pairs such as 'key1=value1,key2=value2' to be added to ngrok api resources as labels
--metrics-bind-address string The address the metric endpoint binds to (default ":8080")
--region string The region to use for ngrok tunnels
--server-addr string The address of the ngrok server to use for tunnels
--watch-namespace string Namespace to watch for Kubernetes resources. Defaults to all namespaces.
--zap-devel Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error)
--zap-encoder encoder Zap log encoding (one of 'json' or 'console') (default )
--zap-log-level level Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', or any integer value > 0 which corresponds to custom debug levels of increasing verbosity (default )
--zap-stacktrace-level level Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic'). (default )
--zap-time-encoding time-encoding Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). Defaults to 'epoch'.
{"level":"error","ts":"2023-12-21T09:34:27Z","logger":"setup","msg":"error running manager","error":"unable to start manager: Get "https://10.96.0.1:443/api?timeout=32s\": dial tcp 10.96.0.1:443: i/o timeout","stacktrace":"main.main\n\t./main.go:69\nruntime.main\n\truntime/proc.go:250"}
Beta Was this translation helpful? Give feedback.
All reactions