feat: update Kubernetes to 1.23.0

See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#changelog-since-v1220

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
Andrey Smirnov 2021-12-08 17:54:58 +03:00
parent 1d6f140d76
commit 8e1d0bfb5f
No known key found for this signature in database
GPG Key ID: 7B26396447AB6DFD
8 changed files with 52 additions and 52 deletions

View File

@ -26,7 +26,7 @@ OPERATING_SYSTEM := $(shell uname -s | tr "[:upper:]" "[:lower:]")
TALOSCTL_DEFAULT_TARGET := talosctl-$(OPERATING_SYSTEM)
INTEGRATION_TEST_DEFAULT_TARGET := integration-test-$(OPERATING_SYSTEM)
INTEGRATION_TEST_PROVISION_DEFAULT_TARGET := integration-test-provision-$(OPERATING_SYSTEM)
KUBECTL_URL ?= https://storage.googleapis.com/kubernetes-release/release/v1.23.0-rc.1/bin/$(OPERATING_SYSTEM)/amd64/kubectl
KUBECTL_URL ?= https://storage.googleapis.com/kubernetes-release/release/v1.23.0/bin/$(OPERATING_SYSTEM)/amd64/kubectl
CLUSTERCTL_VERSION ?= 0.4.3
CLUSTERCTL_URL ?= https://github.com/kubernetes-sigs/cluster-api/releases/download/v$(CLUSTERCTL_VERSION)/clusterctl-$(OPERATING_SYSTEM)-amd64
TESTPKGS ?= github.com/talos-systems/talos/...

18
go.mod
View File

@ -17,15 +17,15 @@ replace (
// Kubernetes dependencies sharing the same version.
require (
k8s.io/api v0.23.0-rc.1
k8s.io/apimachinery v0.23.0-rc.1
k8s.io/apiserver v0.23.0-rc.1 // indirect
k8s.io/cli-runtime v0.23.0-rc.1 // indirect
k8s.io/client-go v0.23.0-rc.1
k8s.io/component-base v0.23.0-rc.1
k8s.io/cri-api v0.23.0-rc.1
k8s.io/kubectl v0.23.0-rc.1
k8s.io/kubelet v0.23.0-rc.1
k8s.io/api v0.23.0
k8s.io/apimachinery v0.23.0
k8s.io/apiserver v0.23.0 // indirect
k8s.io/cli-runtime v0.23.0 // indirect
k8s.io/client-go v0.23.0
k8s.io/component-base v0.23.0
k8s.io/cri-api v0.23.0
k8s.io/kubectl v0.23.0
k8s.io/kubelet v0.23.0
)
require (

42
go.sum
View File

@ -1799,40 +1799,40 @@ k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo=
k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ=
k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8=
k8s.io/api v0.21.3/go.mod h1:hUgeYHUbBp23Ue4qdX9tR8/ANi/g3ehylAqDn9NWVOg=
k8s.io/api v0.23.0-rc.1 h1:6uWJLfgS+izXw6EGAWiSCM+h5Cuw3ecCTZVJkSGowr0=
k8s.io/api v0.23.0-rc.1/go.mod h1:zMxnw89QCgpw1xuTdK6x4rq+9aZJ/+LXEbEGM5uPMrs=
k8s.io/api v0.23.0 h1:WrL1gb73VSC8obi8cuYETJGXEoFNEh3LU0Pt+Sokgro=
k8s.io/api v0.23.0/go.mod h1:8wmDdLBHBNxtOIytwLstXt5E9PddnZb0GaMcqsvDBpg=
k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc=
k8s.io/apimachinery v0.21.3/go.mod h1:H/IM+5vH9kZRNJ4l3x/fXP/5bOPJaVP/guptnZPeCFI=
k8s.io/apimachinery v0.23.0-rc.1 h1:jcLYPvBvZJreNYK4kWwRpiJoJoFIDCahr3gFdeo8HpE=
k8s.io/apimachinery v0.23.0-rc.1/go.mod h1:fFCTTBKvKcwTPFzjlcxp91uPFZr+JA0FubU4fLzzFYc=
k8s.io/apimachinery v0.23.0 h1:mIfWRMjBuMdolAWJ3Fd+aPTMv3X9z+waiARMpvvb0HQ=
k8s.io/apimachinery v0.23.0/go.mod h1:fFCTTBKvKcwTPFzjlcxp91uPFZr+JA0FubU4fLzzFYc=
k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU=
k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM=
k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q=
k8s.io/apiserver v0.23.0-rc.1 h1:sqIvGnCAZ+N3v19iTthmR57c1Kb81su7ZxK/qs80OtU=
k8s.io/apiserver v0.23.0-rc.1/go.mod h1:dAAKSGyvAJ8mXJyqLoZ/IdvDsNxHVFQACwisVeZUgY8=
k8s.io/cli-runtime v0.23.0-rc.1 h1:Mb6dVPU3GrSZxaLyj7kPCgYsYKDgyXHbDMNHfrjqR6c=
k8s.io/cli-runtime v0.23.0-rc.1/go.mod h1:kMcXQETUzzEH6DeCS//oRmz0sqS964mQqP0OnLZ74aA=
k8s.io/apiserver v0.23.0 h1:Ds/QveXWi9aJ8ISB0CJa4zBNc5njxAs5u3rmMIexqCY=
k8s.io/apiserver v0.23.0/go.mod h1:Cec35u/9zAepDPPFyT+UMrgqOCjgJ5qtfVJDxjZYmt4=
k8s.io/cli-runtime v0.23.0 h1:UONt0BV2+edjUVAXuR1nnOAL2CB9r+Gl9yk4UBQpKfs=
k8s.io/cli-runtime v0.23.0/go.mod h1:B5N3YH0KP1iKr6gEuJ/RRmGjO0mJQ/f/JrsmEiPQAlU=
k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y=
k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k=
k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0=
k8s.io/client-go v0.21.3/go.mod h1:+VPhCgTsaFmGILxR/7E1N0S+ryO010QBeNCv5JwRGYU=
k8s.io/client-go v0.23.0-rc.1 h1:9ZwGnHR42pKXYaznPrKWYjBPNiJZNLnlt/1A/XcVobQ=
k8s.io/client-go v0.23.0-rc.1/go.mod h1:/KkqZSQLNMffVVo1SV2g+Lxe+d9MpnYZxR9msVQM0VM=
k8s.io/code-generator v0.23.0-rc.1/go.mod h1:vQvOhDXhuzqiVfM/YHp+dmg10WDZCchJVObc9MvowsE=
k8s.io/client-go v0.23.0 h1:vcsOqyPq7XV3QmQRCBH/t9BICJM9Q1M18qahjv+rebY=
k8s.io/client-go v0.23.0/go.mod h1:hrDnpnK1mSr65lHHcUuIZIXDgEbzc7/683c6hyG4jTA=
k8s.io/code-generator v0.23.0/go.mod h1:vQvOhDXhuzqiVfM/YHp+dmg10WDZCchJVObc9MvowsE=
k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk=
k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI=
k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM=
k8s.io/component-base v0.23.0-rc.1 h1:0sKD1ryfiRsAoJr1OyRlst7G54bRKTjNNix8X06HKXI=
k8s.io/component-base v0.23.0-rc.1/go.mod h1:5+MnBg5SG4J/OjRAcp9y12KplHEjNt8pL3sE7y5JAGU=
k8s.io/component-helpers v0.23.0-rc.1/go.mod h1:srrtjub6q0apVtoLKKTZAt7kwCcg/cHvxW0Yw6Pouks=
k8s.io/component-base v0.23.0 h1:UAnyzjvVZ2ZR1lF35YwtNY6VMN94WtOnArcXBu34es8=
k8s.io/component-base v0.23.0/go.mod h1:DHH5uiFvLC1edCpvcTDV++NKULdYYU6pR9Tt3HIKMKI=
k8s.io/component-helpers v0.23.0/go.mod h1:liXMh6FZS4qamKtMJQ7uLHnFe3tlC86RX5mJEk/aerg=
k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM=
k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI=
k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI=
k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc=
k8s.io/cri-api v0.23.0-rc.1 h1:bEHZDYeuTLujxMr/yMmt8OUHWXW1e5UtJLh4kx8dWEw=
k8s.io/cri-api v0.23.0-rc.1/go.mod h1:2edENu3/mkyW3c6fVPPPaVGEFbLRacJizBbSp7ZOLOo=
k8s.io/cri-api v0.23.0 h1:HNd8/q2tQpan/zPk0ZecUSmfeVVozrX9s3dEs6WsgSQ=
k8s.io/cri-api v0.23.0/go.mod h1:2edENu3/mkyW3c6fVPPPaVGEFbLRacJizBbSp7ZOLOo=
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=
k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8=
@ -1848,12 +1848,12 @@ k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7/go.mod h1:wXW5VT87nVfh/iL
k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw=
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 h1:E3J9oCLlaobFUqsjG9DfKbP2BmgwBL2p7pn0A3dG9W4=
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk=
k8s.io/kubectl v0.23.0-rc.1 h1:5FVEAHBgap4JO7+pLVQkZEUHrBbWdgMjDUoCIhWxBrs=
k8s.io/kubectl v0.23.0-rc.1/go.mod h1:6H5IHJpvnAoX6zJRy/A6xc5IiYOjphr1F2k6TXoMJfM=
k8s.io/kubelet v0.23.0-rc.1 h1:owIyEF3fxLL/I6FT3EjK+IiGf/1MBpSs1HOWrTHrjVM=
k8s.io/kubelet v0.23.0-rc.1/go.mod h1:+97OOOtSzZLdNnSg/lHs1RKobO8S6X7r3dqpJT1LREM=
k8s.io/kubectl v0.23.0 h1:WABWfj+Z4tC3SfKBCtZr5sIVHsFtkU9Azii4DR9IT6Y=
k8s.io/kubectl v0.23.0/go.mod h1:TfcGEs3u4dkmoC2eku1GYymdGaMtPMcaLLFrX/RB2kI=
k8s.io/kubelet v0.23.0 h1:hHdHe/Hp3R2HzxnYI8/f173gDUOTRYERd7S7+to9MZw=
k8s.io/kubelet v0.23.0/go.mod h1:A4DxfIt5Ka+rz54HAFhs1bgiFjJT6lcaAYUcACZl1/k=
k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk=
k8s.io/metrics v0.23.0-rc.1/go.mod h1:U6HjlGw4eAn/wiBleE+gQKqi3UcHKn0MSI+l/UKJREo=
k8s.io/metrics v0.23.0/go.mod h1:NDiZTwppEtAuKJ1Rxt3S4dhyRzdp6yUcJf0vo023dPo=
k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b h1:wxEMGetGMur3J1xuGLQY7GEQYg9bZxKn3tKo5k/eYcs=

View File

@ -47,11 +47,11 @@ see `.machine.logging` machine configuration option.
[notes.updates]
title = "Component Updates"
description="""\
* Linux: 5.15.5
* Linux: 5.15.6
* etcd: 3.5.1
* containerd: 1.5.8
* runc: 1.0.3
* Kubernetes: 1.23.0-rc.1
* Kubernetes: 1.23.0
* CoreDNS: 1.8.6
* Flannel (default CNI): 0.15.1

View File

@ -30,7 +30,7 @@ export TALOS_VERSION=v0.14
# Kubernetes
export KUBECONFIG="${TMP}/kubeconfig"
export KUBERNETES_VERSION=${KUBERNETES_VERSION:-1.23.0-rc.1}
export KUBERNETES_VERSION=${KUBERNETES_VERSION:-1.23.0}
export NAME_PREFIX="talos-e2e-${SHA}-${PLATFORM}"
export TIMEOUT=1200

View File

@ -214,7 +214,7 @@ const (
SystemKubeletPKIDir = "/system/secrets/kubelet"
// DefaultKubernetesVersion is the default target version of the control plane.
DefaultKubernetesVersion = "1.23.0-rc.1"
DefaultKubernetesVersion = "1.23.0"
// DefaultControlPlanePort is the default port to use for the control plane.
DefaultControlPlanePort = 6443

View File

@ -120,7 +120,7 @@ talosctl cluster create [flags]
--ipv4 enable IPv4 network in the cluster (default true)
--ipv6 enable IPv6 network in the cluster (QEMU provisioner only)
--iso-path string the ISO path to use for the initial boot (VM only)
--kubernetes-version string desired kubernetes version to run (default "1.23.0-rc.1")
--kubernetes-version string desired kubernetes version to run (default "1.23.0")
--masters int the number of masters to create (default 1)
--memory int the limit on memory usage in MB (each container/VM) (default 2048)
--mtu int MTU of the cluster network (default 1500)
@ -1995,7 +1995,7 @@ talosctl upgrade-k8s [flags]
--endpoint string the cluster control plane endpoint
--from string the Kubernetes control plane version to upgrade from
-h, --help help for upgrade-k8s
--to string the Kubernetes control plane version to upgrade to (default "1.23.0-rc.1")
--to string the Kubernetes control plane version to upgrade to (default "1.23.0")
```
### Options inherited from parent commands

View File

@ -312,7 +312,7 @@ Examples:
``` yaml
kubelet:
image: ghcr.io/talos-systems/kubelet:v1.23.0-rc.1 # The `image` field is an optional reference to an alternative kubelet image.
image: ghcr.io/talos-systems/kubelet:v1.23.0 # The `image` field is an optional reference to an alternative kubelet image.
# The `extraArgs` field is used to provide additional flags to the kubelet.
extraArgs:
feature-gates: ServerSideApply=true
@ -1077,7 +1077,7 @@ Examples:
``` yaml
apiServer:
image: k8s.gcr.io/kube-apiserver:v1.23.0-rc.1 # The container image used in the API server manifest.
image: k8s.gcr.io/kube-apiserver:v1.23.0 # The container image used in the API server manifest.
# Extra arguments to supply to the API server.
extraArgs:
feature-gates: ServerSideApply=true
@ -1108,7 +1108,7 @@ Examples:
``` yaml
controllerManager:
image: k8s.gcr.io/kube-controller-manager:v1.23.0-rc.1 # The container image used in the controller manager manifest.
image: k8s.gcr.io/kube-controller-manager:v1.23.0 # The container image used in the controller manager manifest.
# Extra arguments to supply to the controller manager.
extraArgs:
feature-gates: ServerSideApply=true
@ -1134,7 +1134,7 @@ Examples:
``` yaml
proxy:
image: k8s.gcr.io/kube-proxy:v1.23.0-rc.1 # The container image used in the kube-proxy manifest.
image: k8s.gcr.io/kube-proxy:v1.23.0 # The container image used in the kube-proxy manifest.
mode: ipvs # proxy mode of kube-proxy.
# Extra arguments to supply to kube-proxy.
extraArgs:
@ -1161,7 +1161,7 @@ Examples:
``` yaml
scheduler:
image: k8s.gcr.io/kube-scheduler:v1.23.0-rc.1 # The container image used in the scheduler manifest.
image: k8s.gcr.io/kube-scheduler:v1.23.0 # The container image used in the scheduler manifest.
# Extra arguments to supply to the scheduler.
extraArgs:
feature-gates: AllBeta=true
@ -1540,7 +1540,7 @@ Appears in:
``` yaml
image: ghcr.io/talos-systems/kubelet:v1.23.0-rc.1 # The `image` field is an optional reference to an alternative kubelet image.
image: ghcr.io/talos-systems/kubelet:v1.23.0 # The `image` field is an optional reference to an alternative kubelet image.
# The `extraArgs` field is used to provide additional flags to the kubelet.
extraArgs:
feature-gates: ServerSideApply=true
@ -1586,7 +1586,7 @@ Examples:
``` yaml
image: ghcr.io/talos-systems/kubelet:v1.23.0-rc.1
image: ghcr.io/talos-systems/kubelet:v1.23.0
```
@ -2675,7 +2675,7 @@ Appears in:
``` yaml
image: k8s.gcr.io/kube-apiserver:v1.23.0-rc.1 # The container image used in the API server manifest.
image: k8s.gcr.io/kube-apiserver:v1.23.0 # The container image used in the API server manifest.
# Extra arguments to supply to the API server.
extraArgs:
feature-gates: ServerSideApply=true
@ -2703,7 +2703,7 @@ Examples:
``` yaml
image: k8s.gcr.io/kube-apiserver:v1.23.0-rc.1
image: k8s.gcr.io/kube-apiserver:v1.23.0
```
@ -2770,7 +2770,7 @@ Appears in:
``` yaml
image: k8s.gcr.io/kube-controller-manager:v1.23.0-rc.1 # The container image used in the controller manager manifest.
image: k8s.gcr.io/kube-controller-manager:v1.23.0 # The container image used in the controller manager manifest.
# Extra arguments to supply to the controller manager.
extraArgs:
feature-gates: ServerSideApply=true
@ -2793,7 +2793,7 @@ Examples:
``` yaml
image: k8s.gcr.io/kube-controller-manager:v1.23.0-rc.1
image: k8s.gcr.io/kube-controller-manager:v1.23.0
```
@ -2836,7 +2836,7 @@ Appears in:
``` yaml
image: k8s.gcr.io/kube-proxy:v1.23.0-rc.1 # The container image used in the kube-proxy manifest.
image: k8s.gcr.io/kube-proxy:v1.23.0 # The container image used in the kube-proxy manifest.
mode: ipvs # proxy mode of kube-proxy.
# Extra arguments to supply to kube-proxy.
extraArgs:
@ -2882,7 +2882,7 @@ Examples:
``` yaml
image: k8s.gcr.io/kube-proxy:v1.23.0-rc.1
image: k8s.gcr.io/kube-proxy:v1.23.0
```
@ -2926,7 +2926,7 @@ Appears in:
``` yaml
image: k8s.gcr.io/kube-scheduler:v1.23.0-rc.1 # The container image used in the scheduler manifest.
image: k8s.gcr.io/kube-scheduler:v1.23.0 # The container image used in the scheduler manifest.
# Extra arguments to supply to the scheduler.
extraArgs:
feature-gates: AllBeta=true
@ -2949,7 +2949,7 @@ Examples:
``` yaml
image: k8s.gcr.io/kube-scheduler:v1.23.0-rc.1
image: k8s.gcr.io/kube-scheduler:v1.23.0
```