Skip to content

Commit

Permalink
k8s: bump up kind version to v0.11.1
Browse files Browse the repository at this point in the history
We also update the base image version to v1.21.1.

kubernetes-sigs/kind#2240

Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
  • Loading branch information
thehajime committed Sep 8, 2021
1 parent 16837ac commit c354cd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion k8s/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kindest/node:v1.17.0
FROM kindest/node:v1.21.1

COPY ./runu /usr/bin/runu
COPY ./libc.so /usr/lib/runu/
Expand Down
7 changes: 4 additions & 3 deletions test/k8s-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

. $(dirname "${BASH_SOURCE[0]}")/common.sh

KIND_VERSION=v0.7.0
KIND_VERSION=v0.11.1
KIND_IMG_VERSION=v1.21.1

# XXX: need multi-arch image build
if [ $TRAVIS_ARCH != "amd64" ] || [ $TRAVIS_OS_NAME != "linux" ] ; then
Expand All @@ -22,7 +23,7 @@ cp $RUNU_AUX_DIR/lkick k8s/
cp $TRAVIS_HOME/gopath/bin/${RUNU_PATH}runu k8s/
cd k8s
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker build -t thehajime/node-runu:v1.17.0 .
docker build -t thehajime/node-runu:$KIND_IMG_VERSION .
cd ..

fold_end k8s.test.0 ""
Expand All @@ -41,7 +42,7 @@ fold_end k8s.test.1 ""


fold_start k8s.test.2 "k8s: kind setup"
kind create cluster --image thehajime/node-runu:v1.17.0 --config k8s/kind-cluster.yaml
kind create cluster --image thehajime/node-runu:$KIND_IMG_VERSION --config k8s/kind-cluster.yaml
kubectl get pods -o wide -A
kubectl get nodes -o wide -A

Expand Down

0 comments on commit c354cd2

Please sign in to comment.