Skip to content

Adopt Go 1.21 to align with Kubernetes #16588

@dusk125

Description

@dusk125

What would you like to be added?

Kubernetes is updating to Golang 1.21: kubernetes/kubernetes#118996

This issue would bring etcd to be in line with Kubernetes and would keep etcd main at the latest Golang version.

In Go 1.21, there are two noteworthy deprecations:

  • math/rand.Read
  • math/rand.Seed

Etcd, bbolt, and raft do not use these so this is a simple bump.

Consider updating:

Why is this needed?

Keep etcd in line with Kubernetes Go version.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions