etcd: Update to version 3.5.12
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
This commit is contained in:
		| @@ -64,7 +64,7 @@ dependencies: | |||||||
|  |  | ||||||
|   # etcd |   # etcd | ||||||
|   - name: "etcd" |   - name: "etcd" | ||||||
|     version: 3.5.11 |     version: 3.5.12 | ||||||
|     refPaths: |     refPaths: | ||||||
|     - path: cluster/gce/manifests/etcd.manifest |     - path: cluster/gce/manifests/etcd.manifest | ||||||
|       match: etcd_docker_tag|etcd_version |       match: etcd_docker_tag|etcd_version | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ | |||||||
|     { |     { | ||||||
|     "name": "etcd-container", |     "name": "etcd-container", | ||||||
|     {{security_context}} |     {{security_context}} | ||||||
|     "image": "{{ pillar.get('etcd_docker_repository', 'registry.k8s.io/etcd') }}:{{ pillar.get('etcd_docker_tag', '3.5.11-0') }}", |     "image": "{{ pillar.get('etcd_docker_repository', 'registry.k8s.io/etcd') }}:{{ pillar.get('etcd_docker_tag', '3.5.12-0') }}", | ||||||
|     "resources": { |     "resources": { | ||||||
|       "requests": { |       "requests": { | ||||||
|         "cpu": {{ cpulimit }} |         "cpu": {{ cpulimit }} | ||||||
| @@ -34,7 +34,7 @@ | |||||||
|         "value": "{{ pillar.get('storage_backend', 'etcd3') }}" |         "value": "{{ pillar.get('storage_backend', 'etcd3') }}" | ||||||
|       }, |       }, | ||||||
|       { "name": "TARGET_VERSION", |       { "name": "TARGET_VERSION", | ||||||
|         "value": "{{ pillar.get('etcd_version', '3.5.11') }}" |         "value": "{{ pillar.get('etcd_version', '3.5.12') }}" | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "name": "DO_NOT_MOVE_BINARIES", |         "name": "DO_NOT_MOVE_BINARIES", | ||||||
|   | |||||||
| @@ -170,8 +170,8 @@ export KUBE_GCE_ENABLE_IP_ALIASES=true | |||||||
| export SECONDARY_RANGE_NAME="pods-default" | export SECONDARY_RANGE_NAME="pods-default" | ||||||
| export STORAGE_BACKEND="etcd3" | export STORAGE_BACKEND="etcd3" | ||||||
| export STORAGE_MEDIA_TYPE="application/vnd.kubernetes.protobuf" | export STORAGE_MEDIA_TYPE="application/vnd.kubernetes.protobuf" | ||||||
| export ETCD_IMAGE=3.5.11-0 | export ETCD_IMAGE=3.5.12-0 | ||||||
| export ETCD_VERSION=3.5.11 | export ETCD_VERSION=3.5.12 | ||||||
|  |  | ||||||
| # Upgrade master with updated kube envs | # Upgrade master with updated kube envs | ||||||
| "${KUBE_ROOT}/cluster/gce/upgrade.sh" -M -l | "${KUBE_ROOT}/cluster/gce/upgrade.sh" -M -l | ||||||
|   | |||||||
| @@ -324,7 +324,7 @@ const ( | |||||||
| 	MinExternalEtcdVersion = "3.4.13-4" | 	MinExternalEtcdVersion = "3.4.13-4" | ||||||
|  |  | ||||||
| 	// DefaultEtcdVersion indicates the default etcd version that kubeadm uses | 	// DefaultEtcdVersion indicates the default etcd version that kubeadm uses | ||||||
| 	DefaultEtcdVersion = "3.5.11-0" | 	DefaultEtcdVersion = "3.5.12-0" | ||||||
|  |  | ||||||
| 	// Etcd defines variable used internally when referring to etcd component | 	// Etcd defines variable used internally when referring to etcd component | ||||||
| 	Etcd = "etcd" | 	Etcd = "etcd" | ||||||
| @@ -479,15 +479,15 @@ var ( | |||||||
|  |  | ||||||
| 	// SupportedEtcdVersion lists officially supported etcd versions with corresponding Kubernetes releases | 	// SupportedEtcdVersion lists officially supported etcd versions with corresponding Kubernetes releases | ||||||
| 	SupportedEtcdVersion = map[uint8]string{ | 	SupportedEtcdVersion = map[uint8]string{ | ||||||
| 		22: "3.5.11-0", | 		22: "3.5.12-0", | ||||||
| 		23: "3.5.11-0", | 		23: "3.5.12-0", | ||||||
| 		24: "3.5.11-0", | 		24: "3.5.12-0", | ||||||
| 		25: "3.5.11-0", | 		25: "3.5.12-0", | ||||||
| 		26: "3.5.11-0", | 		26: "3.5.12-0", | ||||||
| 		27: "3.5.11-0", | 		27: "3.5.12-0", | ||||||
| 		28: "3.5.11-0", | 		28: "3.5.12-0", | ||||||
| 		29: "3.5.11-0", | 		29: "3.5.12-0", | ||||||
| 		30: "3.5.11-0", | 		30: "3.5.12-0", | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	// KubeadmCertsClusterRoleName sets the name for the ClusterRole that allows | 	// KubeadmCertsClusterRoleName sets the name for the ClusterRole that allows | ||||||
|   | |||||||
| @@ -16,7 +16,7 @@ | |||||||
|  |  | ||||||
| # A set of helpers for starting/running etcd for tests | # A set of helpers for starting/running etcd for tests | ||||||
|  |  | ||||||
| ETCD_VERSION=${ETCD_VERSION:-3.5.11} | ETCD_VERSION=${ETCD_VERSION:-3.5.12} | ||||||
| ETCD_HOST=${ETCD_HOST:-127.0.0.1} | ETCD_HOST=${ETCD_HOST:-127.0.0.1} | ||||||
| ETCD_PORT=${ETCD_PORT:-2379} | ETCD_PORT=${ETCD_PORT:-2379} | ||||||
| # This is intentionally not called ETCD_LOG_LEVEL: | # This is intentionally not called ETCD_LOG_LEVEL: | ||||||
|   | |||||||
| @@ -26,4 +26,4 @@ spec: | |||||||
|         imagePullPolicy: Never |         imagePullPolicy: Never | ||||||
|         args: [ "--etcd-servers=http://localhost:2379" ] |         args: [ "--etcd-servers=http://localhost:2379" ] | ||||||
|       - name: etcd |       - name: etcd | ||||||
|         image: gcr.io/etcd-development/etcd:v3.5.11 |         image: gcr.io/etcd-development/etcd:v3.5.12 | ||||||
|   | |||||||
| @@ -26,7 +26,7 @@ import ( | |||||||
| 	e2enode "k8s.io/kubernetes/test/e2e/framework/node" | 	e2enode "k8s.io/kubernetes/test/e2e/framework/node" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| const etcdImage = "3.5.11-0" | const etcdImage = "3.5.12-0" | ||||||
|  |  | ||||||
| // EtcdUpgrade upgrades etcd on GCE. | // EtcdUpgrade upgrades etcd on GCE. | ||||||
| func EtcdUpgrade(targetStorage, targetVersion string) error { | func EtcdUpgrade(targetStorage, targetVersion string) error { | ||||||
|   | |||||||
| @@ -238,7 +238,7 @@ func initImageConfigs(list RegistryList) (map[ImageID]Config, map[ImageID]Config | |||||||
| 	configs[CudaVectorAdd] = Config{list.PromoterE2eRegistry, "cuda-vector-add", "1.0"} | 	configs[CudaVectorAdd] = Config{list.PromoterE2eRegistry, "cuda-vector-add", "1.0"} | ||||||
| 	configs[CudaVectorAdd2] = Config{list.PromoterE2eRegistry, "cuda-vector-add", "2.3"} | 	configs[CudaVectorAdd2] = Config{list.PromoterE2eRegistry, "cuda-vector-add", "2.3"} | ||||||
| 	configs[DistrolessIptables] = Config{list.BuildImageRegistry, "distroless-iptables", "v0.5.0"} | 	configs[DistrolessIptables] = Config{list.BuildImageRegistry, "distroless-iptables", "v0.5.0"} | ||||||
| 	configs[Etcd] = Config{list.GcEtcdRegistry, "etcd", "3.5.11-0"} | 	configs[Etcd] = Config{list.GcEtcdRegistry, "etcd", "3.5.12-0"} | ||||||
| 	configs[Httpd] = Config{list.PromoterE2eRegistry, "httpd", "2.4.38-4"} | 	configs[Httpd] = Config{list.PromoterE2eRegistry, "httpd", "2.4.38-4"} | ||||||
| 	configs[HttpdNew] = Config{list.PromoterE2eRegistry, "httpd", "2.4.39-4"} | 	configs[HttpdNew] = Config{list.PromoterE2eRegistry, "httpd", "2.4.39-4"} | ||||||
| 	configs[InvalidRegistryImage] = Config{list.InvalidRegistry, "alpine", "3.1"} | 	configs[InvalidRegistryImage] = Config{list.InvalidRegistry, "alpine", "3.1"} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bzsuni
					bzsuni