Add a lightweight multinode gate.sh config

This adds a lightweight, three-node cluster configuration for the
gate.sh test harness, leveraging the "basic" manifest set.
This is handy for quickly setting up a full cluster for development
or validation purposes.

Change-Id: Ie36e3a5d32776c316d9a0752b53f9755dd8e09f0
This commit is contained in:
Matt McEuen 2019-12-16 21:53:32 -06:00
parent 3674a86ed8
commit 9251cb6b78
1 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,67 @@
{
"configuration": [
"examples/basic",
"promenade/schemas"
],
"stages": [
{
"name": "Gate Setup",
"script": "gate-setup.sh"
},
{
"name": "Build Image",
"script": "build-image.sh"
},
{
"name": "Generate Certificates",
"script": "generate-certificates.sh"
},
{
"name": "Build Scripts",
"script": "build-scripts.sh"
},
{
"name": "Create VMs",
"script": "create-vms.sh"
},
{
"name": "Genesis",
"script": "genesis.sh",
"on_error": "collect_genesis_info.sh"
},
{
"name": "Join Masters",
"script": "join-nodes.sh",
"arguments": [
"-v", "n0",
"-n", "n1",
"-n", "n2",
"-l", "calico-etcd=enabled",
"-l", "kubernetes-apiserver=enabled",
"-l", "kubernetes-controller-manager=enabled",
"-l", "kubernetes-etcd=enabled",
"-l", "kubernetes-scheduler=enabled",
"-l", "ucp-control-plane=enabled"
]
},
{
"name": "Check initial etcd cluster",
"script": "check-etcd-health.sh",
"arguments": [
"-w", "10",
"-e", "kubernetes n0 n0 n1 n2",
"-e", "calico n0 n0 n1 n2"
]
}
],
"vm": {
"memory": 3072,
"names": [
"n0",
"n1",
"n2"
],
"vcpus": 2
}
}