Skip to content

Commit

Permalink
feat(platform): update etcd to 3.4.13 and etcd config (#2114)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu authored Oct 16, 2022
1 parent 193b4b3 commit cffda69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkg/platform/provider/baremetal/cluster/kubeadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ func (p *Provider) getClusterConfiguration(c *v1.Cluster) *kubeadmv1beta2.Cluste
utilruntime.Must(json.Merge(&config.Etcd, &c.Spec.Etcd))
if config.Etcd.Local != nil {
config.Etcd.Local.ImageTag = images.Get().ETCD.Tag
config.Etcd.Local.ExtraArgs = map[string]string{
"quota-backend-bytes": "6442450944",
}
}

return config
Expand Down
2 changes: 1 addition & 1 deletion pkg/platform/provider/baremetal/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var KubecomponetNames = append(KubeNodeImages, "kube-apiserver", "kube-controlle
var KubeNodeImages = []string{"kube-proxy"}

var components = Components{
ETCD: containerregistry.Image{Name: "etcd", Tag: "v3.4.7"},
ETCD: containerregistry.Image{Name: "etcd", Tag: "v3.4.13"},
CoreDNS: containerregistry.Image{Name: "coredns", Tag: "1.7.0"},
Pause: containerregistry.Image{Name: "pause", Tag: "3.2"},
Pause4KubeadmJob: containerregistry.Image{Name: "pause", Tag: "3.4.1"},
Expand Down

0 comments on commit cffda69

Please sign in to comment.