Skip to content

crane-agent pod crashing with kind k8s 1.24 #345

@figo

Description

@figo

Describe the bug
crane-agent pod crashing with k8s 1.24

Reproduce steps

  1. create k8s 1.24 with kind on laptop
  2. follow https://docs.gocrane.io/dev/installation/ to install crane
  3. 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 working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions