-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Describe the bug
crane-agent pod crashing with k8s 1.24
Reproduce steps
- create k8s 1.24 with kind on laptop
- follow https://docs.gocrane.io/dev/installation/ to install crane
- crane-agent crashing with error
Expected behavior
no crash on k8s 1.24
and it works fine with k8s 1.23.6
Screenshots
the crane-agent pod has following error log
Failed to create noderesource tsp noderesource-kind-control-plane : Internal error occurred: failed calling webhook "vprediction.crane.io": failed to call webhook: Post "[https://craned.crane-system.svc:443/validate-prediction-crane-io-v1alpha1-timeseriesprediction?timeout=10s](https://craned.crane-system.svc/validate-prediction-crane-io-v1alpha1-timeseriesprediction?timeout=10s)": x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate "crane")
F0604 19:18:32.945614 1 agent.go:60] Internal error occurred: failed calling webhook "vprediction.crane.io": failed to call webhook: Post "[https://craned.crane-system.svc:443/validate-prediction-crane-io-v1alpha1-timeseriesprediction?timeout=10s](https://craned.crane-system.svc/validate-prediction-crane-io-v1alpha1-timeseriesprediction?timeout=10s)": x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate "crane")
Environment (please complete the following information):
- K8S Version: 1.24
- Crane Version: 0.5.0
- Browser [e.g. chrome, safari]
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working