generated from cybozu-go/neco-template
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from cybozu-go/k8s-matrix-e2e-test
test: Add k8s matrix e2e test.
- Loading branch information
Showing
12 changed files
with
44 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
# Kubernetes version for testing | ||
# This variable is used for getting kube-apiserver (unit tests) and kindest/node (e2e test). | ||
# Please specify a version that can be used with both (especially kindest/node). | ||
# ref: https://hub.docker.com/r/kindest/node/tags | ||
KUBERNETES_VERSION=1.19.4 | ||
|
||
# MySQL version for testing | ||
MYSQL_VERSION = 8.0.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,10 @@ | ||
kind: Cluster | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
# patch the generated kubeadm config with some extra settings | ||
kubeadmConfigPatches: | ||
- | | ||
# When update to Kubernetes 1.15, make sure to change the | ||
# apiVersion to "kubeadm.k8s.io/v1beta2". Also make sure | ||
# to change the node image in Makefile (--image kindest/node) | ||
apiVersion: "@KUBEADM_APIVERSION@" | ||
kind: ClusterConfiguration | ||
metadata: | ||
name: config | ||
kubernetesVersion: "v@KUBERNETES_VERSION@" | ||
networking: | ||
serviceSubnet: 10.0.0.0/16 | ||
controllerManager: | ||
extraArgs: | ||
"v": "5" | ||
networking: | ||
serviceSubnet: "10.0.0.0/16" | ||
nodes: | ||
- role: control-plane | ||
- role: worker | ||
extraMounts: | ||
- hostPath: /mnt/local-path-provisioner | ||
containerPath: /var/local-path-provisioner | ||
# - role: worker | ||
# - role: worker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,7 @@ | ||
kind: Cluster | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
# patch the generated kubeadm config with some extra settings | ||
kubeadmConfigPatches: | ||
- | | ||
# When update to Kubernetes 1.15, make sure to change the | ||
# apiVersion to "kubeadm.k8s.io/v1beta2". Also make sure | ||
# to change the node image in Makefile (--image kindest/node) | ||
apiVersion: "@KUBEADM_APIVERSION@" | ||
kind: ClusterConfiguration | ||
metadata: | ||
name: config | ||
kubernetesVersion: "v@KUBERNETES_VERSION@" | ||
networking: | ||
serviceSubnet: 10.0.0.0/16 | ||
controllerManager: | ||
extraArgs: | ||
"v": "5" | ||
networking: | ||
serviceSubnet: "10.0.0.0/16" | ||
nodes: | ||
- role: control-plane | ||
- role: worker | ||
# - role: worker | ||
# - role: worker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters