Skip to content

Commit

Permalink
Bump Kubernetes to 1.22 (#208)
Browse files Browse the repository at this point in the history
Also fix the caused warning.

Warning: spec.template.spec.nodeSelector[beta.kubernetes.io/arch]: deprecated since v1.14; use "kubernetes.io/arch" instead

Signed-off-by: Masashi Honma <[email protected]>
  • Loading branch information
masap authored Sep 20, 2021
1 parent 2ccd7fc commit 959f619
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cluster/kubevirtci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

export KUBEVIRT_PROVIDER='k8s-1.20'
export KUBEVIRT_PROVIDER='k8s-1.22'

KUBEVIRTCI_VERSION='1a9626660867fe71046d0fa7bd4bfc2b3a5f3462'
export KUBEVIRTCI_TAG=2109130756-1a96266
KUBEVIRTCI_VERSION='3ff3b1ce03ef026bd633c7ec3668b87b8eecd70d'
export KUBEVIRTCI_TAG=2109170950-3ff3b1c
KUBEVIRTCI_PATH="${PWD}/_kubevirtci"

function kubevirtci::install() {
Expand Down
2 changes: 1 addition & 1 deletion examples/ovs-cni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
serviceAccountName: ovs-cni-marker
hostNetwork: true
nodeSelector:
beta.kubernetes.io/arch: amd64
kubernetes.io/arch: amd64
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
Expand Down
2 changes: 1 addition & 1 deletion manifests/ovs-cni.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
serviceAccountName: ovs-cni-marker
hostNetwork: true
nodeSelector:
beta.kubernetes.io/arch: amd64
kubernetes.io/arch: amd64
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
Expand Down

0 comments on commit 959f619

Please sign in to comment.