Merge "Upgrade Kubernetes from 1.19.14 to 1.21.2"

This commit is contained in:
Zuul 2021-11-01 18:24:06 +00:00 committed by Gerrit Code Review
commit b20403332b
11 changed files with 14 additions and 14 deletions

View File

@ -18,7 +18,7 @@ else
GOBIN = $(shell go env GOBIN 2> /dev/null)
endif
# Produce CRDs that work back to Kubernetes 1.16
# Produce CRDs that work back to Kubernetes 1.21.2
CRD_OPTIONS ?= crd:crdVersions=v1
TOOLBINDIR := tools/bin
@ -83,7 +83,7 @@ DOCS_DIR ?= docs
# document validation options
UNAME != uname
export KIND_URL ?= https://kind.sigs.k8s.io/dl/v0.8.1/kind-$(UNAME)-amd64
KUBECTL_VERSION ?= v1.18.6
KUBECTL_VERSION ?= v1.21.2
export KUBECTL_URL ?= https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl
.PHONY: depend

View File

@ -81,7 +81,7 @@ spec:
init_images:
image: quay.io/airshipit/ipa-wallaby:latest
qcow_bundle:
image: quay.io/airshipit/qcow-bundle:k8s-1.19-latest-ubuntu_focal
image: quay.io/airshipit/qcow-bundle:k8s-1.21-latest-ubuntu_focal
dnsmasq:
image: quay.io/metal3-io/ironic:capm3-v0.5.0
mariadb:
@ -152,9 +152,9 @@ spec:
image_builder:
image_builder:
image_builder:
image: quay.io/airshipit/image-builder:k8s-1.19-latest-ubuntu_focal
image: quay.io/airshipit/image-builder:k8s-1.21-latest-ubuntu_focal
kubernetes: v1.19.14
kubernetes: v1.21.2
image_repositories:
cni:

View File

@ -67,7 +67,7 @@ spec:
type: array
kubernetesVersion:
description: KubernetesVersion is the version of Kubernetes to validate
against (default "1.18.6").
against (default "1.21.2").
type: string
schemaLocation:
description: SchemaLocation is the base URL from which to search for

View File

@ -94,7 +94,7 @@ spec:
type: array
kubernetesVersion:
description: KubernetesVersion is the version of Kubernetes to
validate against (default "1.18.6").
validate against (default "1.21.2").
type: string
schemaLocation:
description: SchemaLocation is the base URL from which to search

View File

@ -21,7 +21,7 @@ spec:
- sh
- -c
- "cp /qcows/*.qcow2 /qcows/*.qcow2.md5sum /shared/html/images/"
image: "quay.io/airshipit/qcow-bundle:k8s-1.19-latest-ubuntu_focal"
image: "quay.io/airshipit/qcow-bundle:k8s-1.21-latest-ubuntu_focal"
imagePullPolicy: Always
volumeMounts:
- mountPath: "/shared"

View File

@ -36,4 +36,4 @@ spec:
nodeRegistration:
criSocket: /var/run/containerd/containerd.sock
kubeletExtraArgs: {eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'}
version: "v1.18.6"
version: "v1.21.2"

View File

@ -4,7 +4,7 @@ metadata:
name: cluster-controlplane
spec:
replicas: 1
version: v1.19.14
version: v1.21.2
machineTemplate:
infrastructureRef:
kind: Metal3MachineTemplate

View File

@ -32,7 +32,7 @@ spec:
template:
spec:
clusterName: "target-cluster"
version: "v1.18.6"
version: "v1.21.2"
bootstrap:
configRef:
name: "target-cluster-md-0"

View File

@ -16,7 +16,7 @@ spec:
cluster.x-k8s.io/cluster-name: target-cluster
spec:
clusterName: target-cluster
version: v1.19.14
version: v1.21.2
bootstrap:
configRef:
name: worker-1

View File

@ -20,7 +20,7 @@ spec:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: AzureMachineTemplate
name: target-cluster-md-0
version: v1.18.6
version: v1.21.2
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: AzureMachineTemplate

View File

@ -14,7 +14,7 @@
set -xe
: ${KUBE_VERSION:="v1.19.1"}
: ${KUBE_VERSION:="v1.21.2"}
# Install kubectl
URL="https://storage.googleapis.com"