mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-21 08:12:49 +00:00
Summary of changes: - "workshopctl" is now "labctl" - it can handle deployment of VMs but also of managed Kubernetes clusters (and therefore, it replaces the "prepare-tf" directory) - support for many more providers has been added Check the README.md, in particular the "directory structure"; it has the most important information.
53 lines
943 B
Bash
Executable File
53 lines
943 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
export AWS_INSTANCE_TYPE=t3a.small
|
|
|
|
INFRA=infra/aws-eu-north-1
|
|
|
|
STUDENTS=2
|
|
|
|
PREFIX=$(date +%Y-%m-%d-%H-%M)
|
|
|
|
SETTINGS=admin-dmuc
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|
|
|
|
SETTINGS=admin-kubenet
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|
|
|
|
SETTINGS=admin-kuberouter
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|
|
|
|
INFRA=infra/enix
|
|
|
|
SETTINGS=admin-oldversion
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|
|
|
|
SETTINGS=admin-test
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|