Skip to content

Commit

Permalink
Merge pull request #17160 from hakman/etcd-3.5.17
Browse files Browse the repository at this point in the history
Update etcd to v3.5.17
  • Loading branch information
k8s-ci-robot authored Jan 2, 2025
2 parents 8063d83 + c3a748f commit d4f03b1
Show file tree
Hide file tree
Showing 417 changed files with 1,629 additions and 1,441 deletions.
2 changes: 1 addition & 1 deletion pkg/model/components/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type EtcdOptionsBuilder struct {
var _ loader.ClusterOptionsBuilder = &EtcdOptionsBuilder{}

const (
DefaultEtcd3Version_1_22 = "3.5.13"
DefaultEtcd3Version_1_22 = "3.5.17"
)

// BuildOptions is responsible for filling in the defaults for the etcd cluster model
Expand Down
17 changes: 9 additions & 8 deletions pkg/model/components/etcdmanager/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,15 @@ type etcdVersion struct {
var etcdSupportedImages = []etcdVersion{
{Version: "3.4.3", SymlinkToVersion: "3.4.13"},
{Version: "3.4.13", Image: "registry.k8s.io/etcd:3.4.13-0"},
{Version: "3.5.0", SymlinkToVersion: "3.5.13"},
{Version: "3.5.1", SymlinkToVersion: "3.5.13"},
{Version: "3.5.3", SymlinkToVersion: "3.5.13"},
{Version: "3.5.4", SymlinkToVersion: "3.5.13"},
{Version: "3.5.6", SymlinkToVersion: "3.5.13"},
{Version: "3.5.7", SymlinkToVersion: "3.5.13"},
{Version: "3.5.9", SymlinkToVersion: "3.5.13"},
{Version: "3.5.13", Image: "registry.k8s.io/etcd:3.5.13-0"},
{Version: "3.5.0", SymlinkToVersion: "3.5.17"},
{Version: "3.5.1", SymlinkToVersion: "3.5.17"},
{Version: "3.5.3", SymlinkToVersion: "3.5.17"},
{Version: "3.5.4", SymlinkToVersion: "3.5.17"},
{Version: "3.5.6", SymlinkToVersion: "3.5.17"},
{Version: "3.5.7", SymlinkToVersion: "3.5.17"},
{Version: "3.5.9", SymlinkToVersion: "3.5.17"},
{Version: "3.5.13", SymlinkToVersion: "3.5.17"},
{Version: "3.5.17", Image: "registry.k8s.io/etcd:3.5.17-0"},
}

func etcdSupportedVersions() []etcdVersion {
Expand Down
26 changes: 14 additions & 12 deletions pkg/model/components/etcdmanager/tests/interval/tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ Contents: |
- mountPath: /opt
name: opt
- args:
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.17
- --src=/usr/local/bin/etcd
- --src=/usr/local/bin/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/etcd:3.5.13-0
name: init-etcd-3-5-13
image: registry.k8s.io/etcd:3.5.17-0
name: init-etcd-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand All @@ -160,17 +160,18 @@ Contents: |
- --symlink
- --target-dir=/opt/etcd-v3.5.0
- --target-dir=/opt/etcd-v3.5.1
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.3
- --target-dir=/opt/etcd-v3.5.4
- --target-dir=/opt/etcd-v3.5.6
- --target-dir=/opt/etcd-v3.5.7
- --target-dir=/opt/etcd-v3.5.9
- --src=/opt/etcd-v3.5.13/etcd
- --src=/opt/etcd-v3.5.13/etcdctl
- --src=/opt/etcd-v3.5.17/etcd
- --src=/opt/etcd-v3.5.17/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/kops/kops-utils-cp:1.31.0-beta.1
name: init-etcd-symlinks-3-5-13
name: init-etcd-symlinks-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand Down Expand Up @@ -273,13 +274,13 @@ Contents: |
- mountPath: /opt
name: opt
- args:
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.17
- --src=/usr/local/bin/etcd
- --src=/usr/local/bin/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/etcd:3.5.13-0
name: init-etcd-3-5-13
image: registry.k8s.io/etcd:3.5.17-0
name: init-etcd-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand All @@ -301,17 +302,18 @@ Contents: |
- --symlink
- --target-dir=/opt/etcd-v3.5.0
- --target-dir=/opt/etcd-v3.5.1
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.3
- --target-dir=/opt/etcd-v3.5.4
- --target-dir=/opt/etcd-v3.5.6
- --target-dir=/opt/etcd-v3.5.7
- --target-dir=/opt/etcd-v3.5.9
- --src=/opt/etcd-v3.5.13/etcd
- --src=/opt/etcd-v3.5.13/etcdctl
- --src=/opt/etcd-v3.5.17/etcd
- --src=/opt/etcd-v3.5.17/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/kops/kops-utils-cp:1.31.0-beta.1
name: init-etcd-symlinks-3-5-13
name: init-etcd-symlinks-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand Down
26 changes: 14 additions & 12 deletions pkg/model/components/etcdmanager/tests/minimal/tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ Contents: |
- mountPath: /opt
name: opt
- args:
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.17
- --src=/usr/local/bin/etcd
- --src=/usr/local/bin/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/etcd:3.5.13-0
name: init-etcd-3-5-13
image: registry.k8s.io/etcd:3.5.17-0
name: init-etcd-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand All @@ -159,17 +159,18 @@ Contents: |
- --symlink
- --target-dir=/opt/etcd-v3.5.0
- --target-dir=/opt/etcd-v3.5.1
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.3
- --target-dir=/opt/etcd-v3.5.4
- --target-dir=/opt/etcd-v3.5.6
- --target-dir=/opt/etcd-v3.5.7
- --target-dir=/opt/etcd-v3.5.9
- --src=/opt/etcd-v3.5.13/etcd
- --src=/opt/etcd-v3.5.13/etcdctl
- --src=/opt/etcd-v3.5.17/etcd
- --src=/opt/etcd-v3.5.17/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/kops/kops-utils-cp:1.31.0-beta.1
name: init-etcd-symlinks-3-5-13
name: init-etcd-symlinks-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand Down Expand Up @@ -271,13 +272,13 @@ Contents: |
- mountPath: /opt
name: opt
- args:
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.17
- --src=/usr/local/bin/etcd
- --src=/usr/local/bin/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/etcd:3.5.13-0
name: init-etcd-3-5-13
image: registry.k8s.io/etcd:3.5.17-0
name: init-etcd-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand All @@ -299,17 +300,18 @@ Contents: |
- --symlink
- --target-dir=/opt/etcd-v3.5.0
- --target-dir=/opt/etcd-v3.5.1
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.3
- --target-dir=/opt/etcd-v3.5.4
- --target-dir=/opt/etcd-v3.5.6
- --target-dir=/opt/etcd-v3.5.7
- --target-dir=/opt/etcd-v3.5.9
- --src=/opt/etcd-v3.5.13/etcd
- --src=/opt/etcd-v3.5.13/etcdctl
- --src=/opt/etcd-v3.5.17/etcd
- --src=/opt/etcd-v3.5.17/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/kops/kops-utils-cp:1.31.0-beta.1
name: init-etcd-symlinks-3-5-13
name: init-etcd-symlinks-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ Contents: |
- mountPath: /opt
name: opt
- args:
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.17
- --src=/usr/local/bin/etcd
- --src=/usr/local/bin/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/etcd:3.5.13-0
name: init-etcd-3-5-13
image: registry.k8s.io/etcd:3.5.17-0
name: init-etcd-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand All @@ -162,17 +162,18 @@ Contents: |
- --symlink
- --target-dir=/opt/etcd-v3.5.0
- --target-dir=/opt/etcd-v3.5.1
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.3
- --target-dir=/opt/etcd-v3.5.4
- --target-dir=/opt/etcd-v3.5.6
- --target-dir=/opt/etcd-v3.5.7
- --target-dir=/opt/etcd-v3.5.9
- --src=/opt/etcd-v3.5.13/etcd
- --src=/opt/etcd-v3.5.13/etcdctl
- --src=/opt/etcd-v3.5.17/etcd
- --src=/opt/etcd-v3.5.17/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/kops/kops-utils-cp:1.31.0-beta.1
name: init-etcd-symlinks-3-5-13
name: init-etcd-symlinks-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand Down Expand Up @@ -277,13 +278,13 @@ Contents: |
- mountPath: /opt
name: opt
- args:
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.17
- --src=/usr/local/bin/etcd
- --src=/usr/local/bin/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/etcd:3.5.13-0
name: init-etcd-3-5-13
image: registry.k8s.io/etcd:3.5.17-0
name: init-etcd-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand All @@ -305,17 +306,18 @@ Contents: |
- --symlink
- --target-dir=/opt/etcd-v3.5.0
- --target-dir=/opt/etcd-v3.5.1
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.3
- --target-dir=/opt/etcd-v3.5.4
- --target-dir=/opt/etcd-v3.5.6
- --target-dir=/opt/etcd-v3.5.7
- --target-dir=/opt/etcd-v3.5.9
- --src=/opt/etcd-v3.5.13/etcd
- --src=/opt/etcd-v3.5.13/etcdctl
- --src=/opt/etcd-v3.5.17/etcd
- --src=/opt/etcd-v3.5.17/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/kops/kops-utils-cp:1.31.0-beta.1
name: init-etcd-symlinks-3-5-13
name: init-etcd-symlinks-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand Down
26 changes: 14 additions & 12 deletions pkg/model/components/etcdmanager/tests/proxy/tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ Contents: |
- mountPath: /opt
name: opt
- args:
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.17
- --src=/usr/local/bin/etcd
- --src=/usr/local/bin/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/etcd:3.5.13-0
name: init-etcd-3-5-13
image: registry.k8s.io/etcd:3.5.17-0
name: init-etcd-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand All @@ -168,17 +168,18 @@ Contents: |
- --symlink
- --target-dir=/opt/etcd-v3.5.0
- --target-dir=/opt/etcd-v3.5.1
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.3
- --target-dir=/opt/etcd-v3.5.4
- --target-dir=/opt/etcd-v3.5.6
- --target-dir=/opt/etcd-v3.5.7
- --target-dir=/opt/etcd-v3.5.9
- --src=/opt/etcd-v3.5.13/etcd
- --src=/opt/etcd-v3.5.13/etcdctl
- --src=/opt/etcd-v3.5.17/etcd
- --src=/opt/etcd-v3.5.17/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/kops/kops-utils-cp:1.31.0-beta.1
name: init-etcd-symlinks-3-5-13
name: init-etcd-symlinks-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand Down Expand Up @@ -289,13 +290,13 @@ Contents: |
- mountPath: /opt
name: opt
- args:
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.17
- --src=/usr/local/bin/etcd
- --src=/usr/local/bin/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/etcd:3.5.13-0
name: init-etcd-3-5-13
image: registry.k8s.io/etcd:3.5.17-0
name: init-etcd-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand All @@ -317,17 +318,18 @@ Contents: |
- --symlink
- --target-dir=/opt/etcd-v3.5.0
- --target-dir=/opt/etcd-v3.5.1
- --target-dir=/opt/etcd-v3.5.13
- --target-dir=/opt/etcd-v3.5.3
- --target-dir=/opt/etcd-v3.5.4
- --target-dir=/opt/etcd-v3.5.6
- --target-dir=/opt/etcd-v3.5.7
- --target-dir=/opt/etcd-v3.5.9
- --src=/opt/etcd-v3.5.13/etcd
- --src=/opt/etcd-v3.5.13/etcdctl
- --src=/opt/etcd-v3.5.17/etcd
- --src=/opt/etcd-v3.5.17/etcdctl
command:
- /opt/kops-utils/kops-utils-cp
image: registry.k8s.io/kops/kops-utils-cp:1.31.0-beta.1
name: init-etcd-symlinks-3-5-13
name: init-etcd-symlinks-3-5-17
resources: {}
volumeMounts:
- mountPath: /opt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
backupRetentionDays: 90
memoryRequest: 100Mi
name: main
version: 3.5.13
version: 3.5.17
- backups:
backupStore: memfs://tests/additionalobjects.example.com/backups/etcd/events
cpuRequest: 100m
Expand All @@ -54,7 +54,7 @@ spec:
backupRetentionDays: 90
memoryRequest: 100Mi
name: events
version: 3.5.13
version: 3.5.17
externalDns:
provider: dns-controller
iam:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"memberCount": 1,
"etcdVersion": "3.5.13"
"etcdVersion": "3.5.17"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"memberCount": 1,
"etcdVersion": "3.5.13"
"etcdVersion": "3.5.17"
}
Loading

0 comments on commit d4f03b1

Please sign in to comment.