Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should add readniess and liveness in k8s deployment #70

Open
DG-Wangtao opened this issue Feb 8, 2025 · 0 comments
Open

should add readniess and liveness in k8s deployment #70

DG-Wangtao opened this issue Feb 8, 2025 · 0 comments

Comments

@DG-Wangtao
Copy link

DG-Wangtao commented Feb 8, 2025

  1. as /healthz or /readyz api is available in clusternet components, readniess and liveness in k8s deployment should add
  2. controller manager not work but pod status is Running, the pod needs to be deleted manually. I'm not sure what /healthz or /readyz return in this situation.
    it's log is
E0207 04:13:30.147515       1 leaderelection.go:340] Failed to update lock optimitically: Put "https://10.43.0.1:443/apis/coordination.k8s.io/v1/namespaces/clusternet-system/leases/clusternet-controller-manager": read tcp 10.42.0.66:52150->10.43.0.1:443: read: connection reset by peer, falling back to slow path
E0207 04:13:30.148195       1 leaderelection.go:347] error retrieving resource lock clusternet-system/clusternet-controller-manager: Get "https://10.43.0.1:443/apis/coordination.k8s.io/v1/namespaces/clusternet-system/leases/clusternet-controller-manager": dial tcp 10.43.0.1:443: connect: connection refused
E0207 04:13:31.165019       1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.4/tools/cache/reflector.go:232: Failed to watch *v1beta1.ClusterRegistrationRequest: the server is currently unable to handle the request (get clusterregistrationrequests.clusters.clusternet.io)
E0207 04:13:31.216278       1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.4/tools/cache/reflector.go:232: Failed to watch *v1alpha1.Manifest: the server is currently unable to handle the request (get manifests.apps.clusternet.io)
E0207 04:13:31.220494       1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.4/tools/cache/reflector.go:232: Failed to watch *v1alpha1.Description: the server is currently unable to handle the request (get descriptions.apps.clusternet.io)
E0207 04:13:31.238699       1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.4/tools/cache/reflector.go:232: Failed to watch *v1alpha1.HelmChart: the server is currently unable to handle the request (get helmcharts.apps.clusternet.io)
E0207 04:13:31.308553       1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.4/tools/cache/reflector.go:232: Failed to watch *v1alpha1.FeedInventory: the server is currently unable to handle the request (get feedinventories.apps.clusternet.io)
E0207 04:13:31.368817       1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.4/tools/cache/reflector.go:232: Failed to watch *v1.Namespace: the server is currently unable to handle the request (get namespaces)
E0207 04:13:31.519140       1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.4/tools/cache/reflector.go:232: Failed to watch *v1alpha1.Subscription: unknown (get subscriptions.apps.clusternet.io)
E0207 04:13:31.519139       1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.4/tools/cache/reflector.go:232: Failed to watch *v1alpha1.Base: unknown (get bases.apps.clusternet.io)
I0207 04:13:31.681586       1 leaderelection.go:285] failed to renew lease clusternet-system/clusternet-controller-manager: timed out waiting for the condition
E0207 04:13:31.684294       1 controllermanager.go:158] leader election got lost
I0207 04:13:31.684332       1 yacht.go:297] shutting down controller description
I0207 04:13:31.684338       1 yacht.go:297] shutting down controller subscription
I0207 04:13:31.684349       1 yacht.go:297] shutting down controller secret
I0207 04:13:31.684345       1 generic.go:126] shutting generic deployer
I0207 04:13:31.684358       1 helm.go:177] shutting helm deployer
I0207 04:13:31.684351       1 yacht.go:297] shutting down controller aggregateStatus
I0207 04:13:31.684364       1 yacht.go:297] shutting down controller cluster-registration-requests
I0207 04:13:31.684370       1 yacht.go:297] shutting down controller helmChart
I0207 04:13:31.684369       1 yacht.go:297] shutting down controller manifest
I0207 04:13:31.684374       1 yacht.go:297] shutting down controller globalization
I0207 04:13:31.684379       1 yacht.go:297] shutting down controller feedInventory
I0207 04:13:31.684364       1 yacht.go:297] shutting down controller base
I0207 04:13:31.684365       1 yacht.go:297] shutting down controller description
I0207 04:13:31.684374       1 yacht.go:297] shutting down controller localization
I0207 04:13:31.684390       1 yacht.go:297] shutting down controller cluster-lifecycle
I0207 04:13:31.684361       1 yacht.go:297] shutting down controller helmRelease
I0207 04:13:31.684414       1 clusterlifecycle_controller.go:196] Shutting down cluster lifecycle controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant