From 4e56762cc920a002bc829d0156302f07a43086fe Mon Sep 17 00:00:00 2001 From: TommyLike Date: Tue, 2 Jul 2019 18:49:38 +0800 Subject: [PATCH] Try kind 0.4.0 for Travis --- .travis.yml | 2 +- hack/e2e-kind-config.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b33fdf5a44..6d913d5902 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ jobs: - sudo apt-get update - sudo apt-get install -y kubectl # Download kind binary (0.2.0) - - sudo curl -o /usr/local/bin/kind -L https://github.com/kubernetes-sigs/kind/releases/download/0.2.0/kind-linux-amd64 + - sudo curl -o /usr/local/bin/kind -L https://github.com/kubernetes-sigs/kind/releases/download/v0.4.0/kind-linux-amd64 - sudo chmod +x /usr/local/bin/kind script: - make vkctl diff --git a/hack/e2e-kind-config.yaml b/hack/e2e-kind-config.yaml index a75edc59c3..b0f9088737 100644 --- a/hack/e2e-kind-config.yaml +++ b/hack/e2e-kind-config.yaml @@ -1,11 +1,12 @@ # this config file contains all config fields with comments -kind: Config -apiVersion: kind.sigs.k8s.io/v1alpha2 +kind: Cluster +apiVersion: kind.sigs.k8s.io/v1alpha3 # 1 control plane node and 3 workers nodes: # the control plane node config - role: control-plane # the three workers - role: worker - # replicas specifies the number of nodes to create with this configuration - replicas: 4 + - role: worker + - role: worker + - role: worker