You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2021/07/09 01:55:16 UTC

[openwhisk-deploy-kube] branch master updated: update to kind 0.11.1 and add testing for Kubernetes 1.21 (#693)

This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new 18960ff  update to kind 0.11.1 and add testing for Kubernetes 1.21 (#693)
18960ff is described below

commit 18960ff29d23f00c59640bbf76e079a139b8afff
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Thu Jul 8 21:55:09 2021 -0400

    update to kind 0.11.1 and add testing for Kubernetes 1.21 (#693)
---
 .travis.yml                        |  1 +
 deploy/kind/start-kind.sh          | 10 +++-------
 docs/k8s-kind.md                   |  2 +-
 docs/k8s-technical-requirements.md |  2 +-
 tools/travis/setup.sh              |  2 +-
 5 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 0d0442b..91cd820 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,6 +26,7 @@ env:
     - TRAVIS_KUBE_VERSION=v1.19 OW_INCLUDE_SYSTEM_TESTS=true OW_CONTAINER_FACTORY=kubernetes
     - TRAVIS_KUBE_VERSION=v1.19 OW_INCLUDE_SYSTEM_TESTS=false OW_CONTAINER_FACTORY=kubernetes OW_LEAN_MODE=true
     - TRAVIS_KUBE_VERSION=v1.20 OW_INCLUDE_SYSTEM_TESTS=false OW_CONTAINER_FACTORY=kubernetes
+    - TRAVIS_KUBE_VERSION=v1.21 OW_INCLUDE_SYSTEM_TESTS=false OW_CONTAINER_FACTORY=kubernetes
 
 services:
   - docker
diff --git a/deploy/kind/start-kind.sh b/deploy/kind/start-kind.sh
index 55e8c63..9f902fa 100755
--- a/deploy/kind/start-kind.sh
+++ b/deploy/kind/start-kind.sh
@@ -24,13 +24,9 @@ TRAVIS_KUBE_VERSION=${TRAVIS_KUBE_VERSION:="v1.20"}
 
 # Map from Kubernetes major versions to the kind node image tag
 case $TRAVIS_KUBE_VERSION in
-    v1.14) KIND_NODE_TAG=v1.14.10@sha256:3fbed72bcac108055e46e7b4091eb6858ad628ec51bf693c21f5ec34578f6180 ;;
-    v1.15) KIND_NODE_TAG=v1.15.12@sha256:67181f94f0b3072fb56509107b380e38c55e23bf60e6f052fbd8052d26052fb5 ;;
-    v1.16) KIND_NODE_TAG=v1.16.15@sha256:c10a63a5bda231c0a379bf91aebf8ad3c79146daca59db816fb963f731852a99 ;;
-    v1.17) KIND_NODE_TAG=v1.17.17@sha256:7b6369d27eee99c7a85c48ffd60e11412dc3f373658bc59b7f4d530b7056823e ;;
-    v1.18) KIND_NODE_TAG=v1.18.15@sha256:5c1b980c4d0e0e8e7eb9f36f7df525d079a96169c8a8f20d8bd108c0d0889cc4 ;;
-    v1.19) KIND_NODE_TAG=v1.19.7@sha256:a70639454e97a4b733f9d9b67e12c01f6b0297449d5b9cbbef87473458e26dca  ;;
-    v1.20) KIND_NODE_TAG=v1.20.2@sha256:8f7ea6e7642c0da54f04a7ee10431549c0257315b3a634f6ef2fecaaedb19bab  ;;
+    v1.19) KIND_NODE_TAG=v1.19.11@sha256:07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729 ;;
+    v1.20) KIND_NODE_TAG=v1.20.7@sha256:cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9  ;;
+    v1.21) KIND_NODE_TAG=v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6  ;;
     *) echo "Unsupported Kubernetes version $TRAVIS_KUBE_VERSION"; exit 1 ;;
 esac
 
diff --git a/docs/k8s-kind.md b/docs/k8s-kind.md
index 072399a..af25ec4 100644
--- a/docs/k8s-kind.md
+++ b/docs/k8s-kind.md
@@ -36,7 +36,7 @@ operate a default cluster with two virtual worker nodes.
 
 Download the latest stable release of `kind` for your platform from
 https://github.com/kubernetes-sigs/kind/releases. Our TravisCI testing
-currently uses kind v0.10.0 on an ubuntu 18.04 host.
+currently uses kind v0.11.1 on an ubuntu 18.04 host.
 
 ### Creating the Kubernetes Cluster
 
diff --git a/docs/k8s-technical-requirements.md b/docs/k8s-technical-requirements.md
index 042603e..d6e9200 100644
--- a/docs/k8s-technical-requirements.md
+++ b/docs/k8s-technical-requirements.md
@@ -22,7 +22,7 @@
 The Kubernetes cluster on which you are deploying OpenWhisk must meet
 the following requirements:
 * [Kubernetes](https://github.com/kubernetes/kubernetes) version 1.19+.
-  Our automated testing currently covers Kubernetes versions 1.19 and 1.20.
+  Our automated testing currently covers Kubernetes versions 1.19, 1.20, and 1.21.
 * The ability to create Ingresses to make a Kubernetes service
   available outside of the cluster so you can actually use OpenWhisk.
 * Unless you disable persistence (see
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
index 5b051cd..71eece4 100755
--- a/tools/travis/setup.sh
+++ b/tools/travis/setup.sh
@@ -20,7 +20,7 @@ set -x
 
 HELM_VERSION=v3.2.4
 # When changing KIND_VERSION, you must also update the case statement of KIND_NODE_TAG in start-kind.sh
-KIND_VERSION=v0.10.0
+KIND_VERSION=v0.11.1
 KUBECTL_VERSION=v1.18.8
 WSK_CLI_VERSION=latest